networkapi.api_route_map.v4 package¶
Subpackages¶
- networkapi.api_route_map.v4.tests package
- Subpackages
- networkapi.api_route_map.v4.tests.route_map package
- Subpackages
- networkapi.api_route_map.v4.tests.route_map.sanity package
- Subpackages
- networkapi.api_route_map.v4.tests.route_map.sanity.sync package
- Submodules
- networkapi.api_route_map.v4.tests.route_map.sanity.sync.test_delete module
- networkapi.api_route_map.v4.tests.route_map.sanity.sync.test_get module
- networkapi.api_route_map.v4.tests.route_map.sanity.sync.test_post module
- networkapi.api_route_map.v4.tests.route_map.sanity.sync.test_put module
- Module contents
- networkapi.api_route_map.v4.tests.route_map.sanity.sync package
- Module contents
- Subpackages
- networkapi.api_route_map.v4.tests.route_map.sanity package
- Module contents
- Subpackages
- networkapi.api_route_map.v4.tests.route_map_entry package
- Subpackages
- networkapi.api_route_map.v4.tests.route_map_entry.sanity package
- Subpackages
- networkapi.api_route_map.v4.tests.route_map_entry.sanity.sync package
- Submodules
- networkapi.api_route_map.v4.tests.route_map_entry.sanity.sync.test_delete module
- networkapi.api_route_map.v4.tests.route_map_entry.sanity.sync.test_get module
- networkapi.api_route_map.v4.tests.route_map_entry.sanity.sync.test_post module
- networkapi.api_route_map.v4.tests.route_map_entry.sanity.sync.test_put module
- Module contents
- networkapi.api_route_map.v4.tests.route_map_entry.sanity.sync package
- Module contents
- Subpackages
- networkapi.api_route_map.v4.tests.route_map_entry.sanity package
- Module contents
- Subpackages
- networkapi.api_route_map.v4.tests.route_map package
- Module contents
- Subpackages
Submodules¶
networkapi.api_route_map.v4.exceptions module¶
-
exception
networkapi.api_route_map.v4.exceptions.AssociatedListsConfigBGPAreNotDeployedException(lists_config_bgp)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 400¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapAlreadyCreated(route_map)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 400¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapAssociatedToPeerGroupException(route_map)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 400¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapAssociatedToRouteMapEntryException(route_map)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 400¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapDoesNotExistException(detail=None)[source]¶ Bases:
rest_framework.exceptions.APIException-
default_detail= u'RouteMap does not exists'¶
-
status_code= 404¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapEntryDoesNotExistException(detail=None)[source]¶ Bases:
rest_framework.exceptions.APIException-
default_detail= u'RouteMapEntry does not exists'¶
-
status_code= 404¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapEntryDuplicatedException(route_map_entry)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 400¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapEntryError(msg)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 500¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapEntryNotFoundError(msg)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 404¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapEntryWithDeployedRouteMapException(route_map_entry, neighbors_v4, neighbors_v6)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 400¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapError(msg)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 500¶
-
-
exception
networkapi.api_route_map.v4.exceptions.RouteMapIsDeployedException(route_map, neighbors_v4, neighbors_v6)[source]¶ Bases:
rest_framework.exceptions.APIException-
status_code= 400¶
-
networkapi.api_route_map.v4.facade module¶
-
networkapi.api_route_map.v4.facade.get_route_map_by_id(obj_id)[source]¶ Return an RouteMap by id.
- Args:
- obj_id: Id of RouteMap
-
networkapi.api_route_map.v4.facade.get_route_map_by_ids(obj_ids)[source]¶ Return RouteMap list by ids.
- Args:
- obj_ids: List of Ids of RouteMap’s.
-
networkapi.api_route_map.v4.facade.get_route_map_by_search(search={})[source]¶ Return a list of RouteMap’s by dict.
-
networkapi.api_route_map.v4.facade.get_route_map_entry_by_id(obj_id)[source]¶ Return an RouteMapEntry by id.
- Args:
- obj_id: Id of RouteMapEntry
-
networkapi.api_route_map.v4.facade.get_route_map_entry_by_ids(obj_ids)[source]¶ Return RouteMapEntry list by ids.
- Args:
- obj_ids: List of Ids of RouteMapEntry’s.