networkapi.api_route_map package¶
Subpackages¶
- 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
- networkapi.api_route_map.v4.tests package
- Submodules
- networkapi.api_route_map.v4.exceptions module
- networkapi.api_route_map.v4.facade module
- networkapi.api_route_map.v4.permissions module
- networkapi.api_route_map.v4.serializers module
- networkapi.api_route_map.v4.urls module
- networkapi.api_route_map.v4.views module
- Module contents
- Subpackages
Submodules¶
networkapi.api_route_map.models module¶
-
class
networkapi.api_route_map.models.
EquipmentRouteMap
(id, equipment_id, route_map_id)[source]¶ Bases:
networkapi.models.BaseModel.BaseModel
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
equipment
¶
-
objects
= <networkapi.models.BaseManager.BaseManager object>¶
-
route_map
¶
-
exception
-
class
networkapi.api_route_map.models.
RouteMap
(id, name)[source]¶ Bases:
networkapi.models.BaseModel.BaseModel
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
equipmentroutemap_set
¶
-
equipments
¶
-
classmethod
get_by_pk
(id)[source]¶ Get RouteMap by id.
Returns: RouteMap.
Raises: - RouteMapNotFoundError – RouteMap not registered.
- RouteMapError – Failed to search for the RouteMap.
- OperationalError – Lock wait timeout exceeded
-
log
= <celery.utils.log.ProcessAwareLogger object>¶
-
objects
= <networkapi.models.BaseManager.BaseManager object>¶
-
peer_groups
¶
-
peer_groups_id
¶
-
peergroup_route_map_in
¶
-
peergroup_route_map_out
¶
-
route_map_entries
¶
-
route_map_entries_id
¶
-
routemapentry_set
¶
-
exception
-
class
networkapi.api_route_map.models.
RouteMapEntry
(id, action, action_reconfig, order, list_config_bgp_id, route_map_id)[source]¶ Bases:
networkapi.models.BaseModel.BaseModel
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
get_action_display
(**morekwargs)¶
-
classmethod
get_by_pk
(id)[source]¶ Get RouteMapEntry by id.
Returns: RouteMapEntry.
Raises: - RouteMapEntryNotFoundError – RouteMapEntry not registered.
- RouteMapEntryError – Failed to search for the RouteMapEntry.
- OperationalError – Lock wait timeout exceeded
-
list_config_bgp
¶
-
log
= <celery.utils.log.ProcessAwareLogger object>¶
-
objects
= <networkapi.models.BaseManager.BaseManager object>¶
-
route_map
¶
-
exception