models_v2.bgp_instance module

class models_v2.bgp_instance.BgpInstance(local_as=None, peers=None, timers=None)[source]

Bases: object

Implementation of the ‘bgpInstance’ model.

BGP instance.

Attributes:

local_as (int): Local AS. peers (list of BgpPeer): List of bgp peer groups. 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.