コード例 #1
0
 def delete_NuageVspDevice(self):
     """Deletes the Nuage VSP device in the Nuage VSP Physical Network"""
     self.debug("Deleting the Nuage VSP device in the Nuage VSP Physical "
                "Network - %s" % self.vsp_physical_network.id)
     nuage_vsp_device = Nuage.list(
         self.api_client, physicalnetworkid=self.vsp_physical_network.id)[0]
     cmd = deleteNuageVspDevice.deleteNuageVspDeviceCmd()
     cmd.vspdeviceid = nuage_vsp_device.vspdeviceid
     self.api_client.deleteNuageVspDevice(cmd)
     self.debug("Successfully deleted the Nuage VSP device in the Nuage "
                "VSP Physical Network - %s" % self.vsp_physical_network.id)
コード例 #2
0
 def delete_NuageVspDevice(self):
     """Deletes the Nuage VSP device in the Nuage VSP Physical Network"""
     self.debug("Deleting the Nuage VSP device in the Nuage VSP Physical "
                "Network - %s" % self.vsp_physical_network.id)
     nuage_vsp_device = Nuage.list(
         self.api_client,
         physicalnetworkid=self.vsp_physical_network.id)[0]
     cmd = deleteNuageVspDevice.deleteNuageVspDeviceCmd()
     cmd.vspdeviceid = nuage_vsp_device.vspdeviceid
     self.api_client.deleteNuageVspDevice(cmd)
     self.debug("Successfully deleted the Nuage VSP device in the Nuage "
                "VSP Physical Network - %s" % self.vsp_physical_network.id)