Module Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Str Str If NameLoad body AugAssignAdd AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Return Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign AttributeStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad Return ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd BinOpAdd ListLoad Str AttributeLoad NameLoad attr NameLoad TryExcept body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad attr handlers ExceptHandler type NameLoad name NameStore body With Call AttributeLoad NameLoad attr NameStore body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str Str NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp CompareIs NameLoad NameLoad ListLoad NameLoad Assign AttributeStore NameLoad attr IfExp CompareIs NameLoad NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr IfExp NameLoad Call AttributeLoad NameLoad attr Str ListLoad decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If NameLoad body AugAssignAdd NameStore ListLoad BinOpMod Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr NameLoad Return TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str Str NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num decorator_list AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr CompareIsNot NameLoad NameLoad decorator_list AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore IfExp NameLoad ListLoad Str NameLoad Assign NameStore ListLoad NameLoad If NameLoad body AugAssignAdd NameStore ListLoad Str Str Str NameLoad BinOpMod Str NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore IfExp NameLoad ListLoad Str NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore ListLoad NameLoad AugAssignAdd NameStore Call NameLoad Call AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Assign NameStore ListLoad NameLoad NameLoad AugAssignAdd NameStore Call NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad NameLoad keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore IfExp NameLoad ListLoad Str NameLoad Assign NameStore ListLoad NameLoad If NameLoad body AugAssignAdd NameStore NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword BinOpAdd ListLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore IfExp NameLoad ListLoad Str NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore IfExp NameLoad ListLoad Str NameLoad Assign NameStore Call NameLoad NameLoad ListLoad NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr Str keyword ListLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults vararg body Assign NameStore ListLoad For NameStore NameLoad body If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num Str SubscriptLoad NameLoad Index Num orelse Assign TupleStore NameStore NameStore NameStore NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore ListComp BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr orelse If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A collections N/A itertools oslo_log log logging oslo_serialization jsonutils oslo_utils excutils N/A six neutron._i18n _LE neutron.agent.common utils neutron.agent.ovsdb api ovsdb N/A LOG N/A N/A logging getLogger __name__ Transaction N/A N/A ovsdb Transaction N/A __init__ N/A N/A self context check_error log_errors opts N/A False True None N/A N/A N/A self context context N/A N/A self check_error check_error N/A N/A self log_errors log_errors N/A N/A self opts N/A N/A --timeout=%d N/A N/A self context vsctl_timeout --oneline --format=json N/A opts N/A N/A N/A self opts opts N/A N/A self commands N/A N/A add N/A N/A self command N/A N/A N/A N/A N/A N/A self commands append command N/A command N/A commit N/A N/A self N/A N/A N/A args N/A N/A cmd N/A self commands N/A N/A N/A cmd result None N/A args N/A N/A cmd vsctl_args N/A res N/A N/A self run_vsctl args N/A N/A res None N/A N/A N/A res N/A N/A N/A N/A res replace \\ \ splitlines N/A N/A i record N/A enumerate res N/A N/A N/A N/A N/A self commands N/A i result record N/A N/A N/A cmd result N/A cmd N/A self commands N/A run_vsctl N/A N/A self args N/A N/A N/A full_args N/A N/A N/A ovs-vsctl N/A self opts args N/A N/A N/A N/A N/A N/A N/A utils execute full_args run_as_root True log_fail_as_error False rstrip N/A N/A N/A Exception N/A e N/A N/A N/A N/A excutils save_and_reraise_exception ctxt N/A N/A N/A self log_errors N/A N/A N/A N/A LOG error N/A _LE Unable to execute %(cmd)s. Exception: %(exception)s N/A cmd exception full_args e N/A N/A N/A self check_error N/A N/A N/A ctxt reraise False N/A N/A BaseCommand N/A N/A ovsdb Command N/A __init__ N/A N/A self context cmd opts args N/A None None N/A N/A N/A self context context N/A N/A self cmd cmd N/A N/A self opts N/A N/A opts None N/A opts N/A N/A self args N/A N/A args None N/A args N/A execute N/A N/A self check_error log_errors N/A False True N/A N/A N/A Transaction N/A self context check_error check_error log_errors log_errors txn N/A N/A N/A N/A txn add self N/A N/A self result N/A vsctl_args N/A N/A self N/A N/A N/A N/A N/A itertools chain N/A -- N/A self opts N/A N/A self cmd N/A self args N/A N/A MultiLineCommand N/A BaseCommand N/A N/A Command for ovs-vsctl commands that return multiple lines result N/A N/A self N/A N/A N/A N/A self _result N/A property result N/A N/A self raw_result N/A N/A N/A N/A self _result N/A raw_result N/A N/A raw_result split \n N/A N/A N/A result setter N/A DbCommand N/A BaseCommand N/A __init__ N/A N/A self context cmd opts args columns N/A None None None N/A N/A N/A opts None N/A N/A opts N/A N/A columns N/A N/A opts N/A N/A --columns=%s N/A N/A , join columns N/A N/A N/A N/A super DbCommand self __init__ context cmd opts args N/A result N/A N/A self N/A N/A N/A N/A self _result N/A property result N/A N/A self raw_result N/A N/A N/A N/A raw_result N/A N/A N/A self _result None N/A N/A N/A N/A json N/A N/A jsonutils loads raw_result N/A N/A N/A N/A ValueError TypeError N/A e N/A N/A N/A N/A excutils save_and_reraise_exception N/A N/A N/A N/A LOG error N/A _LE Could not parse: %(raw_result)s. Exception: %(exception)s N/A raw_result exception raw_result e N/A headings N/A json N/A headings N/A data N/A json N/A data N/A results N/A N/A record data N/A N/A obj N/A N/A N/A pos heading N/A enumerate headings N/A N/A N/A obj N/A heading N/A N/A ovsdb val_to_py N/A record N/A pos N/A N/A N/A results append obj N/A N/A self _result results N/A N/A result setter N/A DbGetCommand N/A DbCommand N/A result N/A N/A self val N/A N/A N/A N/A N/A N/A DbCommand result fset self val N/A N/A self _result N/A N/A N/A self _result N/A N/A list N/A N/A N/A N/A self _result N/A 0 values N/A 0 N/A N/A N/A DbCommand result setter N/A BrExistsCommand N/A DbCommand N/A result N/A N/A self val N/A N/A N/A N/A self _result N/A val None N/A N/A N/A DbCommand result setter execute N/A N/A self N/A N/A N/A N/A N/A N/A super BrExistsCommand self execute check_error False log_errors False N/A N/A OvsdbVsctl N/A N/A ovsdb API N/A transaction N/A N/A self check_error log_errors N/A False True kwargs N/A N/A N/A Transaction N/A self context check_error log_errors kwargs N/A add_br N/A N/A self name may_exist datapath_type N/A True None N/A N/A opts N/A may_exist N/A --may-exist None N/A params N/A name N/A datapath_type N/A N/A params N/A -- set Bridge name N/A datapath_type=%s datapath_type N/A N/A BaseCommand N/A self context add-br opts params N/A del_br N/A N/A self name if_exists N/A True N/A N/A opts N/A if_exists N/A --if-exists None N/A N/A BaseCommand N/A self context del-br opts N/A name N/A br_exists N/A N/A self name N/A N/A N/A N/A BrExistsCommand N/A self context list args N/A Bridge name N/A port_to_br N/A N/A self name N/A N/A N/A N/A BaseCommand N/A self context port-to-br args N/A name N/A iface_to_br N/A N/A self name N/A N/A N/A N/A BaseCommand N/A self context iface-to-br args N/A name N/A list_br N/A N/A self N/A N/A N/A N/A MultiLineCommand N/A self context list-br N/A br_get_external_id N/A N/A self name field N/A N/A N/A N/A BaseCommand N/A self context br-get-external-id args N/A name field N/A db_create N/A N/A self table N/A col_values N/A N/A args N/A table N/A args N/A _set_colval_args N/A N/A col_values items N/A N/A BaseCommand N/A self context create args args N/A db_destroy N/A N/A self table record N/A N/A N/A args N/A table record N/A N/A BaseCommand N/A self context destroy args args N/A db_set N/A N/A self table record N/A col_values N/A N/A args N/A table record N/A args N/A _set_colval_args col_values N/A N/A BaseCommand N/A self context set args args N/A db_clear N/A N/A self table record column N/A N/A N/A N/A BaseCommand N/A self context clear args N/A table record column N/A db_get N/A N/A self table record column N/A N/A N/A N/A DbGetCommand N/A self context list args N/A table record columns N/A column N/A db_list N/A N/A self table records columns if_exists N/A None None False N/A N/A opts N/A if_exists N/A --if-exists None N/A args N/A table N/A records N/A N/A args records N/A N/A DbCommand N/A self context list opts opts args args columns columns N/A db_find N/A N/A self table N/A conditions kwargs N/A N/A columns N/A N/A kwargs pop columns None N/A args N/A N/A itertools chain N/A table N/A N/A _set_colval_args c N/A c conditions N/A N/A DbCommand N/A self context find args args columns columns N/A set_controller N/A N/A self bridge controllers N/A N/A N/A N/A BaseCommand N/A self context set-controller args N/A N/A bridge N/A list controllers N/A del_controller N/A N/A self bridge N/A N/A N/A N/A BaseCommand N/A self context del-controller args N/A bridge N/A get_controller N/A N/A self bridge N/A N/A N/A N/A MultiLineCommand N/A self context get-controller args N/A bridge N/A set_fail_mode N/A N/A self bridge mode N/A N/A N/A N/A BaseCommand N/A self context set-fail-mode args N/A bridge mode N/A add_port N/A N/A self bridge port may_exist N/A True N/A N/A opts N/A may_exist N/A --may-exist None N/A N/A BaseCommand N/A self context add-port opts N/A bridge port N/A del_port N/A N/A self port bridge if_exists N/A None True N/A N/A opts N/A if_exists N/A --if-exists None N/A args N/A filter None N/A bridge port N/A N/A BaseCommand N/A self context del-port opts args N/A list_ports N/A N/A self bridge N/A N/A N/A N/A MultiLineCommand N/A self context list-ports args N/A bridge N/A list_ifaces N/A N/A self bridge N/A N/A N/A N/A MultiLineCommand N/A self context list-ifaces args N/A bridge N/A N/A _set_colval_args N/A N/A N/A col_values N/A N/A args N/A N/A entry col_values N/A N/A N/A N/A len entry 2 N/A N/A N/A col op val N/A N/A entry N/A 0 = N/A entry N/A 1 N/A N/A N/A col op val entry N/A N/A isinstance val N/A collections Mapping N/A N/A args N/A N/A %s:%s%s%s N/A col k op N/A N/A ovsdb py_to_val v N/A N/A k v N/A N/A val items N/A N/A N/A N/A isinstance val N/A collections Sequence N/A N/A isinstance val N/A six string_types N/A N/A N/A N/A len val 0 N/A N/A N/A N/A args append N/A %s%s%s N/A col op [] N/A N/A N/A N/A args append N/A %s%s%s N/A col op N/A N/A , join N/A map N/A ovsdb py_to_val val N/A N/A N/A N/A args append N/A %s%s%s N/A col op N/A N/A ovsdb py_to_val val N/A args N/A