Refactoring of extensions
This is a refactoring of API extensions. Changes include better use of Python idioms and improved support for loading extensions. Change-Id: I9279c4e5781f049ab9e0e995f6aeda48f17c5831
This commit is contained in:
		@@ -341,8 +341,9 @@ DEFINE_string('ec2_dmz_host', '$my_ip', 'internal ip of api server')
 | 
				
			|||||||
DEFINE_integer('ec2_port', 8773, 'cloud controller port')
 | 
					DEFINE_integer('ec2_port', 8773, 'cloud controller port')
 | 
				
			||||||
DEFINE_string('ec2_scheme', 'http', 'prefix for ec2')
 | 
					DEFINE_string('ec2_scheme', 'http', 'prefix for ec2')
 | 
				
			||||||
DEFINE_string('ec2_path', '/services/Cloud', 'suffix for ec2')
 | 
					DEFINE_string('ec2_path', '/services/Cloud', 'suffix for ec2')
 | 
				
			||||||
DEFINE_string('osapi_extensions_path', '/var/lib/nova/extensions',
 | 
					DEFINE_multistring('osapi_extension',
 | 
				
			||||||
               'default directory for nova extensions')
 | 
					                   ['nova.api.openstack.contrib.standard_extensions'],
 | 
				
			||||||
 | 
					                   'osapi extension to load')
 | 
				
			||||||
DEFINE_string('osapi_host', '$my_ip', 'ip of api server')
 | 
					DEFINE_string('osapi_host', '$my_ip', 'ip of api server')
 | 
				
			||||||
DEFINE_string('osapi_scheme', 'http', 'prefix for openstack')
 | 
					DEFINE_string('osapi_scheme', 'http', 'prefix for openstack')
 | 
				
			||||||
DEFINE_integer('osapi_port', 8774, 'OpenStack API port')
 | 
					DEFINE_integer('osapi_port', 8774, 'OpenStack API port')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user