networkapi.api_list_config_bgp package

Submodules

networkapi.api_list_config_bgp.models module

class networkapi.api_list_config_bgp.models.EquipmentListConfig(*args, **kwargs)[source]

Bases: networkapi.models.BaseModel.BaseModel

EquipmentListConfig(id, equipment_id, list_config_bgp_id)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception EquipmentListConfig.MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

EquipmentListConfig.create_v4(list_config_bgp)[source]
EquipmentListConfig.equipment
EquipmentListConfig.list_config_bgp
EquipmentListConfig.objects = <networkapi.models.BaseManager.BaseManager object at 0x7fdee2b35990>
class networkapi.api_list_config_bgp.models.ListConfigBGP(*args, **kwargs)[source]

Bases: networkapi.models.BaseModel.BaseModel

ListConfigBGP(id, name, type, config)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception ListConfigBGP.MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

ListConfigBGP.create_v4(list_config_bgp)[source]

Create ListConfigBGP.

ListConfigBGP.delete_v4()[source]

Delete ListConfigBGP.

ListConfigBGP.equipmentlistconfig_set
ListConfigBGP.equipments
classmethod ListConfigBGP.get_by_pk(id)[source]

Get ListConfigBGP by id.

Returns:

ListConfigBGP.

Raises:
  • ListConfigBGPNotFoundError – ListConfigBGP not registered.
  • ListConfigBGPError – Failed to search for the ListConfigBGP.
  • OperationalError – Lock wait timeout exceeded
ListConfigBGP.get_type_display(*moreargs, **morekwargs)
ListConfigBGP.log = <celery.utils.log.ProcessAwareLogger object at 0x7fdee2e20fd0>
ListConfigBGP.objects = <networkapi.models.BaseManager.BaseManager object at 0x7fdee2b35350>
ListConfigBGP.route_map_entries
ListConfigBGP.route_map_entries_id
ListConfigBGP.routemapentry_set
ListConfigBGP.update_v4(list_config_bgp)[source]

Update ListConfigBGP.

ListConfigBGP.validate_list_config_bgp()[source]
class networkapi.api_list_config_bgp.models.ListConfigBGPType[source]
a = ('A', 'A')
c = ('C', 'C')
list_type = (('P', 'P'), ('A', 'A'), ('C', 'C'))
p = ('P', 'P')

networkapi.api_list_config_bgp.urls module

Module contents