def delete(self, fabric, f_switch):
     #Set path to object, then call delete_object:
     path = create_path(self.root, self.fabrics, fabric, self.f_switches,
                        f_switch, self.fs_ports)
     base_path = create_path(self.root, self.fabrics, fabric,
                             self.f_switches, f_switch)
     return delete_collection(path, base_path)
 def delete(self, chassis, network_adapter):
     #Set path to object, then call delete_object:
     path = create_path(self.root, self.chassis, chassis,
                        self.network_adapters, network_adapter,
                        self.network_device_functions)
     base_path = create_path(self.root, self.chassis, chassis,
                             self.network_adapters, network_adapter)
     return delete_collection(path, base_path)
Example #3
0
 def delete(self, chassis, media_controller):
     #Set path to object, then call delete_object:
     path = create_path(self.root, self.chassis, chassis,
                        self.media_controllers, media_controller,
                        self.mc_ports)
     base_path = create_path(self.root, self.chassis, chassis,
                             self.media_controllers, media_controller)
     return delete_collection(path, base_path)
Example #4
0
 def delete(self):
     #Set path to object, then call delete_object:
     path = create_path(self.root, self.storage)
     base_path = create_path(self.root)
     return delete_collection(path, base_path)
Example #5
0
 def delete(self, system, fabric_adapter):
     #Set path to object, then call delete_object:
     path = create_path(self.root, self.systems, system, self.fabric_adapters, fabric_adapter, self.fabric_adapter_ports)
     base_path = create_path(self.root, self.systems, system, self.fabric_adapters, fabric_adapter)
     return delete_collection(path, base_path)
Example #6
0
 def delete(self, chassis):
     #Set path to object, then call delete_object:
     path = create_path(self.root, self.chassis, chassis,
                        self.memory_domains)
     base_path = create_path(self.root, self.chassis, chassis)
     return delete_collection(path, base_path)
Example #7
0
 def delete(self, fabric):
     #Set path to object, then call delete_object:
     path = create_path(self.root, self.fabrics, fabric, self.f_endpoints)
     base_path = create_path(self.root, self.fabrics, fabric)
     return delete_collection(path, base_path)