Bgp peer
BGP Peer types that are used in input forms.
IPv4BGPPeer
Bases: BaseModel
IPv4 BGP Peer model for use in input forms.
Source code in gso/utils/types/bgp_peer.py
families
property
Convert the add multicast boolean into a list of address families.
ip_type
property
Return the IP version number of this BGP peer.
This is not an attribute of the class, as that would make it appear in input forms, which we want to avoid.
IPv6BGPPeer
Bases: BaseModel
IPv6 BGP Peer model for use in input forms.
Source code in gso/utils/types/bgp_peer.py
families
property
Convert the add multicast boolean into a list of address families.
ip_type
property
Return the IP version number of this BGP peer.
This is not an attribute of the class, as that would make it appear in input forms, which we want to avoid.