Module Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Return AttributeLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad attr handlers ExceptHandler type NameLoad body Pass TryExcept body Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Call NameLoad Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad TupleLoad Num Num body If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpAnd CompareIs NameLoad Str CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIs NameLoad Str CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIs NameLoad Str CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd CompareIs NameLoad Str AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Raise Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr Assign NameStore CompareIn Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list AttributeLoad AttributeLoad NameLoad attr attr ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Dict Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr decorator_list AttributeLoad AttributeLoad NameLoad attr attr
N/A N/A netaddr oslo_utils versionutils N/A nova.conf nova db nova exception nova.i18n _ nova objects nova.objects base obj_base nova.objects fields N/A CONF N/A N/A nova conf CONF Network N/A N/A obj_base NovaPersistentObject N/A obj_base NovaObject N/A obj_base NovaObjectDictCompat N/A N/A VERSION 1.2 N/A fields N/A id label injected cidr cidr_v6 multi_host netmask gateway broadcast netmask_v6 gateway_v6 bridge bridge_interface dns1 dns2 vlan vpn_public_address vpn_public_port vpn_private_address dhcp_start rxtx_base project_id priority host uuid mtu dhcp_server enable_dhcp share_address N/A N/A fields IntegerField N/A N/A fields StringField N/A N/A fields BooleanField N/A N/A fields IPV4NetworkField nullable True N/A N/A fields IPV6NetworkField nullable True N/A N/A fields BooleanField N/A N/A fields IPV4AddressField nullable True N/A N/A fields IPV4AddressField nullable True N/A N/A fields IPV4AddressField nullable True N/A N/A fields IPV6AddressField nullable True N/A N/A fields IPV6AddressField nullable True N/A N/A fields StringField nullable True N/A N/A fields StringField nullable True N/A N/A fields IPAddressField nullable True N/A N/A fields IPAddressField nullable True N/A N/A fields IntegerField nullable True N/A N/A fields IPAddressField nullable True N/A N/A fields IntegerField nullable True N/A N/A fields IPAddressField nullable True N/A N/A fields IPV4AddressField nullable True N/A N/A fields IntegerField nullable True N/A N/A fields UUIDField nullable True N/A N/A fields IntegerField nullable True N/A N/A fields StringField nullable True N/A N/A fields UUIDField N/A N/A fields IntegerField nullable True N/A N/A fields IPAddressField nullable True N/A N/A fields BooleanField N/A N/A fields BooleanField _convert_legacy_ipv6_netmask N/A N/A netmask N/A N/A N/A Handle netmask_v6 possibilities from the database.

        Historically, this was stored as just an integral CIDR prefix,
        but in the future it should be stored as an actual netmask.
        Be tolerant of either here.
         N/A N/A N/A prefix N/A int netmask N/A N/A N/A N/A netaddr IPNetwork N/A 1::/%i prefix netmask N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A N/A netaddr IPNetwork netmask netmask N/A N/A N/A N/A netaddr AddrFormatError N/A N/A N/A ValueError N/A N/A _ IPv6 netmask "%s" must be a netmask or integral prefix netmask N/A staticmethod obj_make_compatible N/A N/A self primitive target_version N/A N/A N/A target_version N/A N/A versionutils convert_version_to_tuple target_version N/A N/A target_version N/A 1 2 N/A N/A N/A mtu primitive N/A N/A N/A primitive N/A mtu N/A N/A enable_dhcp primitive N/A N/A N/A primitive N/A enable_dhcp N/A N/A dhcp_server primitive N/A N/A N/A primitive N/A dhcp_server N/A N/A share_address primitive N/A N/A N/A primitive N/A share_address N/A _from_db_object N/A N/A context network db_network N/A N/A N/A field N/A network fields N/A N/A db_value N/A db_network N/A field N/A N/A N/A field netmask_v6 N/A db_value None N/A N/A db_value N/A N/A network _convert_legacy_ipv6_netmask db_value N/A N/A N/A field mtu N/A db_value None N/A N/A db_value N/A CONF network_device_mtu N/A N/A N/A field dhcp_server N/A db_value None N/A N/A db_value N/A db_network N/A gateway N/A N/A N/A field share_address N/A CONF share_dhcp_address N/A N/A db_value N/A CONF share_dhcp_address N/A N/A network N/A field db_value N/A N/A network _context context N/A N/A N/A network obj_reset_changes N/A network N/A staticmethod get_by_id N/A N/A cls context network_id project_only N/A allow_none N/A N/A db_network N/A N/A db network_get context network_id project_only project_only N/A N/A N/A cls _from_db_object context N/A cls db_network N/A N/A obj_base remotable_classmethod get_by_uuid N/A N/A cls context network_uuid N/A N/A N/A db_network N/A N/A db network_get_by_uuid context network_uuid N/A N/A N/A cls _from_db_object context N/A cls db_network N/A N/A obj_base remotable_classmethod get_by_cidr N/A N/A cls context cidr N/A N/A N/A db_network N/A N/A db network_get_by_cidr context cidr N/A N/A N/A cls _from_db_object context N/A cls db_network N/A N/A obj_base remotable_classmethod associate N/A N/A cls context project_id network_id force N/A None False N/A N/A N/A N/A db network_associate context project_id network_id network_id force force N/A N/A obj_base remotable_classmethod disassociate N/A N/A cls context network_id host project N/A False False N/A N/A N/A N/A db network_disassociate context network_id host project N/A N/A obj_base remotable_classmethod in_use_on_host N/A N/A cls context network_id host N/A N/A N/A N/A N/A db network_in_use_on_host context network_id host N/A N/A obj_base remotable_classmethod _get_primitive_changes N/A N/A self N/A N/A N/A changes N/A N/A N/A key value N/A N/A N/A N/A self obj_get_changes items N/A N/A N/A isinstance value N/A netaddr IPAddress N/A N/A N/A changes N/A key N/A str value N/A N/A N/A changes N/A key value N/A changes N/A create N/A N/A self N/A N/A N/A updates N/A N/A self _get_primitive_changes N/A N/A id updates N/A N/A N/A N/A exception ObjectActionError action create reason already created N/A db_network N/A N/A db network_create_safe N/A self _context updates N/A N/A N/A self _from_db_object N/A self _context self db_network N/A N/A obj_base remotable destroy N/A N/A self N/A N/A N/A N/A N/A db network_delete_safe N/A self _context N/A self id N/A N/A self deleted True N/A N/A N/A self obj_reset_changes N/A deleted N/A N/A obj_base remotable save N/A N/A self N/A N/A N/A context N/A self _context N/A updates N/A N/A self _get_primitive_changes N/A N/A netmask_v6 updates N/A N/A N/A updates N/A netmask_v6 N/A N/A N/A netaddr IPNetwork N/A updates N/A netmask_v6 netmask N/A set_host N/A host updates N/A set_host N/A N/A N/A N/A db network_set_host context N/A self id N/A N/A updates pop host N/A updates N/A N/A db_network N/A N/A db network_update context N/A self id updates N/A N/A set_host N/A N/A db_network N/A N/A db network_get context N/A self id N/A N/A db_network None N/A N/A db_network None N/A N/A N/A N/A self _from_db_object context self db_network N/A N/A obj_base remotable N/A N/A N/A obj_base NovaObjectRegistry register NetworkList N/A N/A obj_base ObjectListBase N/A obj_base NovaObject N/A N/A VERSION 1.2 N/A fields N/A objects N/A N/A fields ListOfObjectsField Network get_all N/A N/A cls context project_only N/A allow_none N/A N/A db_networks N/A N/A db network_get_all context project_only N/A N/A N/A obj_base obj_make_list context N/A cls context N/A objects Network db_networks N/A N/A obj_base remotable_classmethod get_by_uuids N/A N/A cls context network_uuids project_only N/A allow_none N/A N/A db_networks N/A N/A db network_get_all_by_uuids context network_uuids project_only N/A N/A N/A obj_base obj_make_list context N/A cls context N/A objects Network db_networks N/A N/A obj_base remotable_classmethod get_by_host N/A N/A cls context host N/A N/A N/A db_networks N/A N/A db network_get_all_by_host context host N/A N/A N/A obj_base obj_make_list context N/A cls context N/A objects Network db_networks N/A N/A obj_base remotable_classmethod get_by_project N/A N/A cls context project_id associate N/A True N/A N/A db_networks N/A N/A db project_get_networks context project_id associate associate N/A N/A N/A obj_base obj_make_list context N/A cls context N/A objects Network db_networks N/A N/A obj_base remotable_classmethod N/A N/A N/A obj_base NovaObjectRegistry register