Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore NameLoad Break Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str Str Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A uuid ooi.occi.infrastructure compute ooi.occi.infrastructure network ooi.occi.infrastructure network_link ooi.occi.infrastructure templates occi_templates ooi.openstack contextualization ooi.openstack helpers ooi.openstack network os_network ooi.openstack templates ooi.tests base TestOpenStackOSTemplate N/A N/A base TestCase N/A test_os_template N/A N/A self N/A N/A N/A id N/A N/A N/A uuid uuid4 hex N/A title Frobble Image N/A location N/A %s/%s N/A N/A N/A occi_templates os_tpl _location id N/A tpl N/A N/A templates OpenStackOSTemplate id title N/A N/A N/A self assertEqual id N/A tpl term N/A N/A N/A self assertEqual title N/A tpl title N/A N/A N/A self assertTrue N/A N/A N/A tpl scheme startswith N/A helpers _PREFIX N/A N/A N/A self assertIn N/A occi_templates os_tpl N/A tpl related N/A N/A N/A self assertEqual location N/A tpl location N/A N/A TestOpenStackResourceTemplate N/A N/A base TestCase N/A test_resource_template N/A N/A self N/A N/A N/A id N/A N/A N/A uuid uuid4 hex N/A name m1.humongous N/A cores 10 N/A memory 30 N/A disk 40 N/A swap 20 N/A ephemeral 50 N/A location N/A %s/%s N/A N/A N/A occi_templates resource_tpl _location id N/A tpl N/A N/A templates OpenStackResourceTemplate id name cores memory disk swap swap ephemeral ephemeral N/A N/A N/A self assertEqual id N/A tpl term N/A N/A N/A self assertEqual N/A Flavor: %s name N/A tpl title N/A N/A N/A self assertTrue N/A N/A N/A tpl scheme startswith N/A helpers _PREFIX N/A N/A N/A self assertIn N/A occi_templates resource_tpl N/A tpl related N/A N/A N/A self assertEqual cores N/A tpl cores N/A N/A N/A self assertEqual memory N/A tpl memory N/A N/A N/A self assertEqual disk N/A tpl disk N/A N/A N/A self assertEqual swap N/A tpl swap N/A N/A N/A self assertEqual ephemeral N/A tpl ephemeral N/A N/A N/A self assertEqual name N/A tpl name N/A N/A N/A self assertEqual location N/A tpl location N/A N/A TestHelpers N/A N/A base TestCase N/A test_vm_state N/A N/A self N/A N/A N/A N/A N/A self assertEqual active N/A N/A helpers vm_state ACTIVE N/A N/A N/A self assertEqual suspended N/A N/A helpers vm_state SUSPENDED N/A N/A N/A self assertEqual inactive N/A N/A helpers vm_state PAUSED N/A N/A N/A self assertEqual inactive N/A N/A helpers vm_state STOPPED N/A N/A N/A self assertEqual inactive N/A N/A helpers vm_state BUILDING N/A test_vol_state N/A N/A self N/A N/A N/A N/A N/A self assertEqual online N/A N/A helpers vol_state in-use N/A N/A TestOpenStackUserData N/A N/A base TestCase N/A test_os_userdata N/A N/A self N/A N/A N/A user_data foobar N/A mxn N/A N/A contextualization OpenStackUserData user_data N/A N/A N/A self assertEqual user_data N/A mxn term N/A N/A N/A self assertTrue N/A N/A N/A mxn scheme startswith N/A helpers _PREFIX N/A N/A N/A self assertEqual user_data N/A mxn user_data N/A N/A TestOpenStackPublicKey N/A N/A base TestCase N/A test_os_userdata N/A N/A self N/A N/A N/A key_name foobar N/A key_data 1234 N/A mxn N/A N/A contextualization OpenStackPublicKey key_name key_data N/A N/A N/A self assertEqual public_key N/A mxn term N/A N/A N/A self assertTrue N/A N/A N/A mxn scheme startswith N/A helpers _PREFIX N/A N/A N/A self assertEqual key_name N/A mxn name N/A N/A N/A self assertEqual key_data N/A mxn data N/A N/A TestOSNetworkInterface N/A N/A base TestCase N/A test_osnetwork_interface N/A N/A self N/A N/A N/A c N/A N/A compute ComputeResource foo summary This is a summary id N/A N/A N/A uuid uuid4 hex N/A n N/A N/A network NetworkResource bar summary This is a summary id N/A N/A N/A uuid uuid4 hex N/A i N/A N/A os_network OSNetworkInterface c n 00:01:02:03:04:05 127.0.0.1 pool foo N/A N/A N/A self assertEqual N/A N/A _ join N/A N/A c id 127.0.0.1 N/A i id N/A N/A N/A self assertEqual N/A i address 127.0.0.1 N/A N/A N/A self assertEqual N/A i interface eth0 N/A N/A N/A self assertEqual N/A i mac 00:01:02:03:04:05 N/A N/A N/A self assertEqual N/A i state active N/A N/A N/A self assertIsNone N/A i gateway N/A N/A N/A self assertEqual N/A N/A network_link NetworkInterface kind N/A i kind N/A N/A N/A self assertEqual 2 N/A len N/A i mixins N/A N/A N/A self assertIn N/A network_link ip_network_interface N/A i mixins N/A has_pool False N/A m N/A i mixins N/A N/A N/A isinstance m N/A os_network OSFloatingIPPool N/A N/A N/A N/A self assertEqual N/A m term foo N/A has_pool True N/A N/A N/A N/A self assertTrue has_pool N/A att N/A N/A N/A network_link NetworkInterface kind attributes N/A N/A N/A N/A self assertIn att N/A i attributes N/A att N/A N/A network_link ip_network_interface attributes N/A N/A N/A N/A self assertIn att N/A i attributes N/A test_setters N/A N/A self N/A N/A N/A c N/A N/A compute ComputeResource foo summary This is a summary id N/A N/A N/A uuid uuid4 hex N/A n N/A N/A network NetworkResource bar summary This is a summary id N/A N/A N/A uuid uuid4 hex N/A i N/A N/A os_network OSNetworkInterface c n 00:01:02:03:04:05 127.0.0.1 N/A N/A i address 192.163.1.2 N/A N/A N/A self assertEqual 192.163.1.2 N/A N/A N/A i attributes N/A occi.networkinterface.address value N/A N/A i gateway 192.163.1.1 N/A N/A N/A self assertEqual 192.163.1.1 N/A N/A N/A i attributes N/A occi.networkinterface.gateway value N/A N/A i allocation static N/A N/A N/A self assertEqual static N/A N/A N/A i attributes N/A occi.networkinterface.allocation value N/A test_getters N/A N/A self N/A N/A N/A c N/A N/A compute ComputeResource foo summary This is a summary id N/A N/A N/A uuid uuid4 hex N/A n N/A N/A network NetworkResource bar summary This is a summary id N/A N/A N/A uuid uuid4 hex N/A i N/A N/A os_network OSNetworkInterface c n 00:01:02:03:04:05 127.0.0.1 N/A N/A N/A N/A i attributes N/A occi.networkinterface.address value 192.163.1.2 N/A N/A N/A self assertEqual 192.163.1.2 N/A i address N/A N/A N/A N/A i attributes N/A occi.networkinterface.gateway value 192.163.1.1 N/A N/A N/A self assertEqual 192.163.1.1 N/A i gateway N/A N/A N/A N/A i attributes N/A occi.networkinterface.allocation value static N/A N/A N/A self assertEqual static N/A i allocation N/A N/A