Module Expr Str TryExcept body Import alias handlers ExceptHandler type NameLoad body TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str If CompareEq Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr Str body Assign NameStore Dict Str Str Str Str orelse Assign NameStore Dict Str Str Str 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 Str Str Str Str Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareEq NameLoad Str body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr keyword Num Index Num If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Str If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Global identifier Assign NameStore NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Assign NameStore Call NameLoad If UnaryOpNot NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore ListLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Delete NameDel Assign NameStore Call NameLoad ListComp TupleLoad NameLoad TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore BinOpAdd NameLoad NameLoad body TryExcept body Assign SubscriptStore NameLoad Index Str Call NameLoad Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str NameLoad For NameStore NameLoad body If CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str For NameStore NameLoad body If BoolOpAnd CompareNotIn Str NameLoad CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad For NameStore NameLoad body If CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareNotIn Str NameLoad body Raise Call NameLoad Str If CompareNotIn Str NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str ListLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign NameStore SubscriptLoad NameLoad Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Str NameLoad orelse Assign TupleStore NameStore NameStore TupleLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body If CompareIn SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareNotEq SubscriptLoad NameLoad Index Num NameLoad body Print NameLoad BinOpMod Str NameLoad Print NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareEq Call NameLoad Call NameLoad Lambda arguments args NameParam defaults CompareIn Str NameLoad NameLoad Num body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BoolOpOr BoolOpAnd CompareIn Str NameLoad NameLoad NameLoad NameLoad Print NameLoad BinOpMod Str NameLoad Print NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr NameLoad NameLoad orelse Print NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Print NameLoad NameLoad orelse Print NameLoad NameLoad For NameStore NameLoad body Print NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad Return TupleLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BoolOpOr BoolOpAnd NameLoad SubscriptLoad NameLoad Index Num NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Index Str body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore Call NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad If UnaryOpNot NameLoad body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareEq NameLoad Call AttributeLoad Call NameLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Delete SubscriptDel NameLoad Index NameLoad Continue Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad Raise decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Raise For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareNotEq NameLoad NameLoad body Assign NameStore ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotEq NameLoad ListLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Slice Num Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad orelse Raise Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad Call NameLoad NameLoad Str attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body TryExcept body If CompareEq Call AttributeLoad NameLoad attr Str Str body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr ListLoad Str Str Num body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Return Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str TryExcept body With Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareNotEq NameLoad Str body Return NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list
N/A N/A 
JSON misc commands plugin
 N/A N/A N/A anyjson N/A N/A N/A ImportError N/A N/A N/A N/A simplejson json N/A N/A N/A ImportError N/A N/A json anyjson N/A object N/A N/A Fake anyjson module as a class serialize N/A N/A buf N/A N/A N/A N/A N/A json dumps buf N/A staticmethod deserialize N/A N/A buf N/A N/A N/A N/A N/A json loads buf N/A staticmethod N/A cStringIO StringIO N/A fcntl N/A logging N/A os N/A shutil N/A subprocess N/A platform N/A pyxenstore N/A re N/A socket N/A time ctypes * N/A agentlib N/A commands N/A debian.network N/A redhat.network N/A arch.network N/A suse.network N/A gentoo.network N/A freebsd.network N/A utils N/A XENSTORE_INTERFACE_PATH vm-data/networking N/A XENSTORE_HOSTNAME_PATH vm-data/hostname N/A DEFAULT_HOSTNAME N/A HOSTS_FILE /etc/hosts N/A RESOLV_CONF_FILE /etc/resolv.conf N/A RESOLVCONF_RESOLV_CONF_FILE /run/resolvconf/resolv.conf N/A RESOLVCONF_CONF_FILE /etc/resolvconf.conf N/A RESOLVCONF_BASE /etc/resolvconf/resolv.conf.d/base N/A N/A N/A N/A N/A N/A N/A os uname N/A 0 lower freebsd N/A N/A INTERFACE_LABELS N/A public private xn0 xn1 N/A N/A INTERFACE_LABELS N/A public private eth0 eth1 N/A NETMASK_TO_PREFIXLEN N/A 255.255.255.255 255.255.255.254 255.255.255.252 255.255.255.248 255.255.255.240 255.255.255.224 255.255.255.192 255.255.255.128 255.255.255.0 255.255.254.0 255.255.252.0 255.255.248.0 255.255.240.0 255.255.224.0 255.255.192.0 255.255.128.0 255.255.0.0 255.254.0.0 255.252.0.0 255.248.0.0 255.240.0.0 255.224.0.0 255.192.0.0 255.128.0.0 255.0.0.0 254.0.0.0 252.0.0.0 248.0.0.0 240.0.0.0 224.0.0.0 192.0.0.0 128.0.0.0 0.0.0.0 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 CustomErrorResolvConfBase N/A Exception N/A __init__ N/A N/A self message N/A N/A N/A N/A self message N/A repr message N/A N/A N/A logging error N/A 'resolvconf' config got error: %s N/A self message N/A __str__ N/A N/A self N/A N/A N/A N/A self message N/A N/A NetworkCommands N/A N/A commands CommandBase N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A detect_os N/A N/A N/A N/A N/A 
        Return the Linux Distribution or other OS name
         N/A translations N/A debian ubuntu redhat centos fedora oracle arch opensuse suse gentoo freebsd debian debian redhat redhat redhat redhat arch suse suse gentoo freebsd N/A system N/A N/A N/A os uname N/A 0 N/A N/A system Linux N/A N/A system N/A N/A N/A platform linux_distribution full_distribution_name 0 N/A 0 N/A N/A N/A system N/A N/A N/A os path exists /etc/arch-release N/A N/A system arch N/A N/A system N/A N/A None N/A system N/A N/A system lower N/A DEFAULT_HOSTNAME N/A DEFAULT_HOSTNAME system N/A N/A N/A translations get system N/A staticmethod resetnetwork_cmd N/A N/A self data N/A N/A N/A 
        Configure network & hostname, restarting network.
         N/A os_mod N/A N/A self detect_os N/A N/A os_mod N/A N/A N/A SystemError Couldn't figure out my OS N/A xs_handle N/A N/A pyxenstore Handle N/A N/A N/A hostname N/A N/A xs_handle read XENSTORE_HOSTNAME_PATH N/A N/A N/A logging info N/A hostname: %r (from xenstore) hostname N/A N/A N/A N/A pyxenstore NotFoundError N/A N/A N/A N/A hostname N/A N/A N/A os_mod network get_hostname N/A N/A N/A N/A hostname N/A _get_hostname N/A N/A hostname N/A N/A hostname DEFAULT_HOSTNAME N/A N/A N/A logging info N/A hostname: %r (default) hostname N/A interfaces N/A N/A N/A N/A entries N/A N/A xs_handle entries XENSTORE_INTERFACE_PATH N/A N/A N/A N/A pyxenstore NotFoundError N/A N/A entries N/A N/A entry entries N/A N/A data N/A N/A xs_handle read N/A N/A XENSTORE_INTERFACE_PATH / entry N/A data N/A N/A anyjson deserialize data N/A N/A N/A interfaces append data N/A N/A N/A logging info N/A interface %s: %r N/A entry data N/A xs_handle N/A by_macaddr N/A dict N/A N/A mac N/A up name N/A N/A name up mac N/A N/A agentlib get_interfaces N/A config N/A N/A interface interfaces N/A N/A ifconfig N/A N/A mac N/A N/A interface get mac N/A N/A mac N/A N/A N/A RuntimeError No MAC found in config N/A mac N/A N/A mac lower N/A N/A ifconfig N/A mac mac N/A N/A mac by_macaddr N/A N/A N/A RuntimeError N/A Unknown interface MAC %s mac N/A N/A ifconfig N/A label N/A N/A interface get label N/A N/A up ifname N/A by_macaddr N/A mac N/A N/A ifconfig N/A up up N/A ip4s N/A N/A interface get ips N/A N/A ip6s N/A N/A interface get ip6s N/A N/A N/A N/A ip4s N/A ip6s N/A N/A N/A RuntimeError No IPs found for interface N/A gateway4 N/A N/A interface get gateway N/A gateway6 N/A N/A interface get gateway6 N/A ip N/A ip4s ip6s N/A N/A N/A N/A N/A ip N/A enabled N/A int N/A N/A ip get enabled 0 N/A N/A N/A ValueError N/A N/A N/A RuntimeError N/A Invalid value %r for 'enabled' key N/A N/A ip get enabled N/A ip4s N/A filter N/A N/A N/A i N/A N/A i N/A enabled ip4s N/A ip6s N/A filter N/A N/A N/A i N/A N/A i N/A enabled ip6s N/A ip ip4s N/A N/A N/A ip ip N/A N/A N/A RuntimeError Missing 'ip' key for IPv4 address N/A N/A netmask ip N/A N/A N/A RuntimeError Missing 'netmask' key for IPv4 address N/A N/A ip N/A address N/A N/A ip pop ip N/A N/A ip N/A prefixlen N/A NETMASK_TO_PREFIXLEN N/A N/A ip N/A netmask N/A ip ip6s N/A N/A N/A N/A ip ip N/A address ip N/A N/A N/A RuntimeError Missing 'ip' or 'address' key for IPv6 address N/A N/A netmask ip N/A N/A N/A RuntimeError Missing 'netmask' key for IPv6 address N/A N/A gateway ip N/A N/A gateway6 N/A N/A ip pop gateway N/A N/A address ip N/A N/A N/A ip N/A address N/A N/A ip pop ip N/A N/A ip N/A prefixlen N/A N/A ip pop netmask N/A N/A ifconfig N/A ip4s ip4s N/A N/A ifconfig N/A ip6s ip6s N/A N/A ifconfig N/A gateway4 gateway4 N/A N/A ifconfig N/A gateway6 gateway6 N/A routes N/A N/A interface get routes N/A N/A route routes N/A N/A N/A route route N/A N/A N/A RuntimeError Missing 'route' key for route N/A N/A netmask route N/A N/A N/A RuntimeError Missing 'netmask' key for route N/A N/A gateway route N/A N/A N/A RuntimeError Missing 'gateway' key for route N/A N/A route N/A network N/A N/A route pop route N/A N/A route N/A prefixlen N/A NETMASK_TO_PREFIXLEN N/A N/A route N/A netmask N/A N/A ifconfig N/A routes routes N/A N/A ifconfig N/A dns N/A N/A interface get dns N/A N/A N/A config N/A ifname ifconfig N/A N/A N/A N/A os_mod network configure_network hostname config N/A N/A N/A commands command_add resetnetwork N/A _get_etc_hosts N/A N/A infile interfaces hostname N/A N/A N/A ips N/A set N/A interface N/A N/A interfaces itervalues N/A N/A ip4s N/A interface N/A ip4s N/A ip4s N/A N/A N/A N/A ips add N/A N/A ip4s N/A 0 N/A address N/A ip6s N/A interface N/A ip6s N/A ip6s N/A N/A N/A N/A ips add N/A N/A ip6s N/A 0 N/A address N/A outfile N/A StringIO N/A line infile N/A N/A line N/A N/A line strip N/A N/A # line N/A N/A N/A config comment N/A N/A line split # 1 N/A config N/A N/A config strip N/A comment N/A 	# comment N/A N/A N/A config comment N/A line N/A parts N/A N/A re split \s+ config N/A parts N/A N/A N/A N/A parts N/A 0 ips N/A N/A confip N/A N/A parts pop 0 N/A N/A N/A N/A len parts 1 N/A N/A parts N/A 0 hostname N/A N/A outfile N/A # %s	# Removed by nova-agent line N/A outfile N/A %s	%s%s N/A confip hostname comment N/A N/A N/A N/A N/A len parts 2 N/A N/A len N/A filter N/A N/A N/A h N/A N/A . h parts 1 N/A N/A hostnames N/A map N/A N/A N/A h N/A N/A N/A N/A . h h hostname parts N/A outfile N/A # %s	# Removed by nova-agent line N/A outfile N/A %s	%s%s N/A confip N/A N/A join hostnames comment N/A N/A outfile line N/A N/A N/A ips remove confip N/A N/A outfile line N/A N/A outfile line N/A ip ips N/A N/A outfile N/A %s	%s N/A ip hostname N/A N/A N/A outfile seek 0 N/A N/A N/A outfile read N/A get_etc_hosts N/A N/A interfaces hostname N/A N/A N/A N/A N/A N/A os path exists HOSTS_FILE N/A N/A infile N/A open HOSTS_FILE N/A N/A infile N/A StringIO N/A N/A HOSTS_FILE N/A _get_etc_hosts infile interfaces hostname N/A get_gateways N/A N/A interfaces N/A N/A N/A gateway4s N/A N/A gateway6s N/A N/A interface N/A N/A interfaces itervalues N/A N/A gateway N/A N/A interface get gateway4 N/A gateway N/A N/A N/A N/A gateway4s append gateway N/A gateway N/A N/A interface get gateway6 N/A gateway N/A N/A N/A N/A gateway6s append gateway N/A N/A N/A len gateway4s 1 N/A N/A N/A RuntimeError Multiple IPv4 default routes specified N/A N/A N/A len gateway6s 1 N/A N/A N/A RuntimeError Multiple IPv6 default routes specified N/A gateway4 N/A N/A gateway4s N/A gateway4s N/A 0 None N/A gateway6 N/A N/A gateway6s N/A gateway6s N/A 0 None N/A N/A gateway4 gateway6 N/A get_nameservers N/A N/A interfaces N/A N/A N/A interface N/A N/A interfaces itervalues N/A N/A nameserver N/A interface N/A dns N/A N/A N/A nameserver N/A get_resolv_conf N/A N/A interfaces N/A N/A N/A resolv_data N/A nameserver N/A get_nameservers interfaces N/A N/A resolv_data N/A nameserver %s
 nameserver N/A N/A resolv_data N/A N/A N/A None None N/A N/A RESOLV_CONF_FILE N/A # Automatically generated, do not edit
 resolv_data N/A sethostname N/A N/A hostname N/A N/A N/A N/A N/A agentlib sethostname hostname N/A stage_files N/A N/A update_files N/A N/A N/A tmp_suffix N/A %d.tmp~ N/A N/A os getpid N/A N/A filepath data N/A N/A update_files items N/A N/A N/A N/A N/A os path exists filepath N/A N/A N/A data N/A N/A N/A open filepath read N/A N/A N/A N/A logging info N/A skipping %s (no changes) filepath N/A N/A update_files N/A filepath N/A N/A N/A N/A logging info N/A staging %s (%s) N/A filepath tmp_suffix N/A tmp_file N/A %s.%s N/A filepath tmp_suffix N/A f N/A open tmp_file w N/A N/A N/A N/A N/A f write data N/A N/A N/A f close N/A N/A N/A os chown tmp_file 0 0 N/A N/A N/A os chmod tmp_file 420 N/A N/A N/A N/A N/A N/A os unlink tmp_file N/A N/A move_files N/A N/A update_files remove_files N/A None N/A N/A N/A remove_files N/A N/A remove_files N/A set N/A tmp_suffix N/A %d.tmp~ N/A N/A os getpid N/A bak_suffix N/A %d.bak~ N/A N/A time time N/A filepath N/A N/A update_files iterkeys N/A N/A N/A N/A N/A os path exists filepath N/A N/A N/A N/A logging info N/A backing up %s (%s) N/A filepath bak_suffix N/A N/A N/A os rename filepath N/A %s.%s N/A filepath bak_suffix N/A N/A N/A logging info N/A updating %s filepath N/A N/A N/A N/A N/A os rename N/A %s.%s N/A filepath tmp_suffix filepath N/A N/A N/A N/A N/A N/A os rename N/A %s.%s N/A filepath bak_suffix filepath N/A N/A filepath remove_files N/A N/A N/A N/A logging info N/A moving %s (%s) N/A filepath bak_suffix N/A N/A N/A os rename filepath N/A %s.%s N/A filepath bak_suffix N/A update_files N/A N/A update_files remove_files N/A None N/A N/A N/A stage_files update_files N/A N/A move_files update_files remove_files N/A _mkdir_p N/A N/A pathname N/A N/A N/A N/A N/A N/A N/A os path exists pathname N/A N/A N/A basedir _ N/A N/A N/A os path split pathname N/A N/A N/A N/A N/A os path exists basedir N/A N/A N/A _mkdir_p basedir N/A N/A N/A logging info N/A creating directory: %s pathname N/A N/A N/A os mkdir pathname N/A _update_resolvconf_base N/A N/A nameservers N/A N/A N/A N/A nameservers None N/A N/A nameservers N/A N/A nameserver %s dns N/A dns nameservers N/A N/A N/A N/A N/A os path isfile /etc/network/interfaces N/A N/A fyl N/A open /etc/network/interfaces r N/A dat N/A N/A fyl readlines N/A N/A N/A fyl close N/A nameservers N/A N/A line dat N/A N/A entry N/A N/A re findall \s*dns-nameservers.* line N/A N/A entry N/A N/A N/A N/A N/A nameservers extend N/A N/A N/A N/A entry N/A 0 split N/A 1 N/A nameservers N/A list N/A set nameservers N/A nameservers N/A N/A nameserver %s dns N/A dns nameservers N/A N/A N/A CustomErrorResolvConfBase Error while updating resolvconf baseconfig file with nameservers. N/A N/A basedir _ N/A N/A N/A os path split RESOLVCONF_BASE N/A N/A _mkdir_p basedir N/A fyl N/A open RESOLVCONF_BASE w N/A N/A N/A fyl write N/A N/A join nameservers N/A N/A N/A fyl close N/A N/A N/A logging info N/A 'resolvconf' base config updated with %s nameservers N/A _prepare_resolvconf_config N/A N/A nameservers N/A N/A N/A N/A N/A N/A N/A os path isdir /run/resolvconf N/A N/A N/A N/A N/A N/A os path isdir /run N/A N/A N/A N/A os mkdir /run N/A N/A N/A os mkdir /run/resolvconf N/A N/A N/A os rename RESOLV_CONF_FILE RESOLVCONF_CONF_FILE N/A N/A N/A N/A open RESOLVCONF_RESOLV_CONF_FILE a close N/A N/A N/A os symlink RESOLVCONF_RESOLV_CONF_FILE RESOLV_CONF_FILE N/A N/A _update_resolvconf_base nameservers N/A N/A N/A logging info resolvconf symlinked and pre-requisite completed N/A _update_if_resolvconf_in_path N/A N/A N/A N/A N/A path N/A N/A N/A N/A os getenv PATH split : N/A N/A resolvconf_path N/A N/A N/A os path join path resolvconf N/A N/A N/A N/A N/A os path isfile resolvconf_path N/A N/A N/A os path isfile RESOLVCONF_BASE N/A N/A N/A N/A shutil copy RESOLVCONF_BASE RESOLVCONF_RESOLV_CONF_FILE N/A N/A N/A logging info Resolvconf BASE config copied over resolvconf/resolv.conf to avoid cross-platform bin created errors. N/A True N/A False N/A update_resolvconf N/A N/A nameservers N/A None N/A N/A N/A N/A N/A N/A N/A os getenv NOVA_AGENT_RESOLVCONF off N/A N/A N/A N/A logging info 'resolvconf' has been turned off for system Env N/A N/A N/A N/A os path islink RESOLV_CONF_FILE N/A N/A N/A N/A logging info N/A %s is already a link RESOLV_CONF_FILE N/A N/A N/A _prepare_resolvconf_config nameservers N/A N/A N/A N/A subprocess call N/A resolvconf -u 0 N/A N/A N/A N/A logging info 'resolvconf' completed N/A True N/A N/A _update_if_resolvconf_in_path N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info N/A 'resolvconf' not configured.
Error: %s N/A repr e N/A N/A N/A os rename RESOLV_CONF_FILE RESOLVCONF_CONF_FILE N/A False N/A _get_hostname N/A N/A N/A N/A N/A 
    Will fetch current hostname of VM if any and return.
    Looks at /etc/hostname config for Generic config server.
     N/A N/A N/A N/A open /etc/hostname fyl N/A N/A _hostname N/A N/A N/A N/A fyl read strip N/A N/A _hostname N/A N/A _hostname N/A None N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging info N/A Current hostname enquiry failed: %s N/A str e N/A None N/A