示例#1
0
 def setUp(self):
     super(TestServerCreateRequestXMLDeserializer, self).setUp()
     ext_info = plugins.LoadedExtensionInfo()
     controller = servers.ServersController(extension_info=ext_info)
     self.create_deserializer = servers.CreateDeserializer(controller)
     self.deserializer = servers.ActionDeserializer(controller)
     CONF.set_override('extensions_blacklist', 'os-disk-config', 'osapi_v3')
     no_disk_config_controller = servers.ServersController(
         extension_info=ext_info)
     self.create_no_disk_config_deserializer =\
         servers.CreateDeserializer(no_disk_config_controller)
     self.no_disk_config_deserializer =\
         servers.ActionDeserializer(no_disk_config_controller)
示例#2
0
 def setUp(self):
     super(TestServerRebuildRequestXMLDeserializer, self).setUp()
     ext_info = plugins.LoadedExtensionInfo()
     controller = servers.ServersController(extension_info=ext_info)
     self.deserializer = servers.ActionDeserializer(controller)
     self.create_deserializer = servers.CreateDeserializer(controller)
示例#3
0
 def setUp(self):
     super(TestServerActionXMLDeserializer, self).setUp()
     ext_info = plugins.LoadedExtensionInfo()
     servers_controller = servers.ServersController(extension_info=ext_info)
     self.deserializer = servers.ActionDeserializer(servers_controller)