networkapi.api_neighbor.v4 package¶
Subpackages¶
- networkapi.api_neighbor.v4.tests package
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v4 package
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity package
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity.sync package
- Submodules
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity.sync.test_delete module
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity.sync.test_get module
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity.sync.test_post module
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity.sync.test_put module
- Module contents
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity.sync package
- Module contents
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v4.sanity package
- Module contents
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v6 package
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity package
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity.sync package
- Submodules
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity.sync.test_delete module
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity.sync.test_get module
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity.sync.test_post module
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity.sync.test_put module
- Module contents
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity.sync package
- Module contents
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v6.sanity package
- Module contents
- Subpackages
- networkapi.api_neighbor.v4.tests.neighbor_v4 package
- Module contents
- Subpackages
Submodules¶
networkapi.api_neighbor.v4.exceptions module¶
- exception networkapi.api_neighbor.v4.exceptions.DontHavePermissionForPeerGroupException(neighbor)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.LocalIpAndLocalAsnAtDifferentEquipmentsException(neighbor)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.LocalIpAndPeerGroupAtDifferentEnvironmentsException(neighbor)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.LocalIpAndRemoteIpAreInDifferentVrfsException(neighbor)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborDuplicatedException(neighbor)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV4AlreadyCreated(msg=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = u'NeighborV4 already created'¶
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV4DoesNotExistException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = u'NeighborV4 does not exists'¶
- status_code = 404¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV4Error(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 500¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV4IsDeployed(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV4IsUndeployed(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV4NotCreated(msg=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = u'NeighborV4 not created'¶
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV4NotFoundError(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 404¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV6AlreadyCreated(msg=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = u'NeighborV6 already created'¶
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV6DoesNotExistException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = u'NeighborV6 does not exists'¶
- status_code = 404¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV6Error(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 500¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV6IsDeployed(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV6IsUndeployed(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV6NotCreated(msg=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = u'NeighborV6 not created'¶
- status_code = 400¶
- exception networkapi.api_neighbor.v4.exceptions.NeighborV6NotFoundError(msg)[source]¶
Bases: rest_framework.exceptions.APIException
- status_code = 404¶
networkapi.api_neighbor.v4.facade module¶
- networkapi.api_neighbor.v4.facade.get_neighbor_v4_by_id(obj_id)[source]¶
Return an NeighborV4 by id.
- Args:
- obj_id: Id of NeighborV4
- networkapi.api_neighbor.v4.facade.get_neighbor_v4_by_ids(obj_ids)[source]¶
Return NeighborV4 list by ids.
- Args:
- obj_ids: List of Ids of NeighborV4’s.
- networkapi.api_neighbor.v4.facade.get_neighbor_v4_by_search(search={})[source]¶
Return a list of NeighborV4’s by dict.
- networkapi.api_neighbor.v4.facade.get_neighbor_v6_by_id(obj_id)[source]¶
Return an NeighborV6 by id.
- Args:
- obj_id: Id of NeighborV6
- networkapi.api_neighbor.v4.facade.get_neighbor_v6_by_ids(obj_ids)[source]¶
Return NeighborV6 list by ids.
- Args:
- obj_ids: List of Ids of NeighborV6’s.