models_v2.bgp_peer module¶
-
class
models_v2.bgp_peer.
BgpPeer
(address_or_tag=None, description=None, remote_as=None, timers=None)[source]¶ Bases:
object
Implementation of the ‘BgpPeer’ model.
BGP peer information.
- Attributes:
address_or_tag (string): IP Address. description (string): Peer’s description. remote_as (int): Remote AS. timers (BgpTimers): BGP protocol timers.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.