cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pavanb018 <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8720: Handle corner case in re...
Date Mon, 10 Aug 2015 10:24:31 GMT
Github user pavanb018 commented on the pull request:
    Looks Good to me. 
    Probably remove_nic might return an error if the NIC is not removed , but just wondering
if a check is needed in the below step , to validate that only 1 NIC exists for the VM by
listing nics after the remove nic operation? If you feel the check is redundant then leave
    #Try to remove nic 2 from vm1
    +        try:
    +            vm1.remove_nic(self.apiclient, self.nics[0].id)
    +        except Exception as e:
    +  "Failed to delete the nic from vm")
    +        return

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message