Module ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TryExcept body With Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body With Call AttributeLoad NameLoad attr NameStore body If Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad ExceptHandler type AttributeLoad NameLoad attr body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A oslo_db exception db_exc oslo_log log logging oslo_utils excutils oslo_utils uuidutils sqlalchemy exc sql_exc sqlalchemy.orm exc networking_cisco._i18n _LE networking_cisco.plugins.cisco.db.l3 l3_models N/A networking_cisco.plugins.cisco.extensions.routertype routertype N/A LOG N/A N/A logging getLogger __name__ RoutertypeDbMixin N/A N/A routertype RoutertypePluginBase N/A N/A Mixin class for Router types. create_routertype N/A N/A self context routertype N/A N/A N/A Creates a router type.

        Also binds it to the specified hosting device template.
         N/A N/A N/A LOG debug create_routertype() called. Contents %s routertype N/A rt N/A routertype N/A routertype N/A N/A N/A N/A context session begin subtransactions True N/A N/A routertype_db N/A N/A l3_models RouterType id N/A N/A self _get_id rt tenant_id N/A rt N/A tenant_id name N/A rt N/A name description N/A rt N/A description template_id N/A rt N/A template_id ha_enabled_by_default N/A rt N/A ha_enabled_by_default shared N/A rt N/A shared slot_need N/A rt N/A slot_need scheduler N/A rt N/A scheduler driver N/A rt N/A driver cfg_agent_service_helper N/A rt N/A cfg_agent_service_helper cfg_agent_driver N/A rt N/A cfg_agent_driver N/A N/A N/A N/A context session add routertype_db N/A N/A N/A self _make_routertype_dict routertype_db N/A update_routertype N/A N/A self context id routertype N/A N/A N/A N/A N/A LOG debug update_routertype() called N/A rt N/A routertype N/A routertype N/A N/A N/A N/A context session begin subtransactions True N/A N/A rt_query N/A N/A N/A context session query N/A l3_models RouterType N/A N/A N/A N/A N/A N/A rt_query filter_by id id update rt N/A N/A N/A N/A routertype RouterTypeNotFound id id N/A N/A N/A self get_routertype context id N/A delete_routertype N/A N/A self context id N/A N/A N/A N/A N/A LOG debug delete_routertype() called N/A N/A N/A N/A N/A N/A context session begin subtransactions True N/A N/A routertype_query N/A N/A N/A context session query N/A l3_models RouterType N/A N/A N/A N/A N/A N/A routertype_query filter_by id id delete N/A N/A N/A N/A routertype RouterTypeNotFound id id N/A N/A N/A N/A db_exc DBError N/A e N/A N/A N/A N/A excutils save_and_reraise_exception ctxt N/A N/A N/A isinstance N/A e inner_exception N/A sql_exc IntegrityError N/A N/A N/A ctxt reraise False N/A N/A N/A routertype RouterTypeInUse id id N/A get_routertype N/A N/A self context id fields N/A None N/A N/A N/A N/A LOG debug get_routertype() called N/A rt_db N/A N/A self _get_routertype context id N/A N/A N/A self _make_routertype_dict rt_db fields N/A get_routertypes N/A N/A self context filters fields sorts limit marker page_reverse N/A None None None None None False N/A N/A N/A N/A LOG debug get_routertypes() called N/A N/A N/A self _get_collection context N/A l3_models RouterType N/A self _make_routertype_dict filters filters fields fields sorts sorts limit limit marker_obj marker page_reverse page_reverse N/A get_routertype_by_id_name N/A N/A self context id_or_name N/A N/A N/A N/A N/A self _make_routertype_dict N/A N/A self get_routertype_db_by_id_name context id_or_name N/A get_routertype_db_by_id_name N/A N/A self context id_or_name N/A N/A N/A query N/A N/A N/A context session query N/A l3_models RouterType N/A query N/A N/A query filter N/A N/A N/A l3_models RouterType id id_or_name N/A N/A N/A N/A N/A query one N/A N/A N/A N/A exc MultipleResultsFound 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 Database inconsistency: Multiple router types with same id %s id_or_name N/A N/A N/A routertype RouterTypeNotFound router_type id_or_name N/A N/A N/A exc NoResultFound N/A N/A query N/A N/A N/A context session query N/A l3_models RouterType N/A query N/A N/A query filter N/A N/A N/A l3_models RouterType name id_or_name N/A N/A N/A N/A N/A query one N/A N/A N/A N/A exc MultipleResultsFound N/A N/A N/A N/A excutils save_and_reraise_exception N/A N/A N/A N/A LOG debug Multiple router types with name %s found. Id must be specified to allow arbitration. id_or_name N/A N/A N/A routertype MultipleRouterTypes name id_or_name N/A N/A N/A exc NoResultFound 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 No router type with name %s found. id_or_name N/A N/A N/A routertype RouterTypeNotFound id id_or_name N/A _get_routertype N/A N/A self context id N/A N/A N/A N/A N/A N/A N/A self _get_by_id context N/A l3_models RouterType id N/A N/A N/A N/A exc NoResultFound N/A N/A N/A N/A routertype RouterTypeNotFound id id N/A _make_routertype_dict N/A N/A self routertype fields N/A None N/A N/A res N/A id tenant_id name description template_id ha_enabled_by_default shared slot_need scheduler driver cfg_agent_service_helper cfg_agent_driver N/A routertype N/A id N/A routertype N/A tenant_id N/A routertype N/A name N/A routertype N/A description N/A routertype N/A template_id N/A routertype N/A ha_enabled_by_default N/A routertype N/A shared N/A routertype N/A slot_need N/A routertype N/A scheduler N/A routertype N/A driver N/A routertype N/A cfg_agent_service_helper N/A routertype N/A cfg_agent_driver N/A N/A N/A self _fields res fields N/A _get_id N/A N/A self res N/A N/A N/A uuid N/A N/A res get id N/A uuid N/A N/A uuid N/A N/A N/A uuidutils generate_uuid N/A N/A