Documentation
¶
Index ¶
- func GetBGPGlobal() ([]*bgp.BGPGlobal, error)
- func GetBGPSessions() ([]*bgp.Session, error)
- func GetCommunityLists() ([]*routingpolicy.CommunityList, error)
- func GetPeerGroups() ([]*bgp.PeerGroup, error)deprecated
- func GetPrefixLists() ([]*routingpolicy.PrefixList, error)
- func GetRoutePolicies() ([]*routingpolicy.RoutePolicy, error)
- func PrecomputeBGPGlobal(globalConfigs []*bgp.BGPGlobal) map[string]*bgp.BGPGlobal
- func PrecomputeBGPSessions(sessions []*bgp.Session) map[string][]*bgp.Session
- func PrecomputeCommunityLists(communityLists []*routingpolicy.CommunityList) map[string][]*routingpolicy.CommunityList
- func PrecomputePeerGroups(peerGroups []*bgp.PeerGroup) map[string][]*bgp.PeerGroupdeprecated
- func PrecomputePrefixLists(prefixLists []*routingpolicy.PrefixList) map[string][]*routingpolicy.PrefixList
- func PrecomputeRoutePolicies(routePolicies []*routingpolicy.RoutePolicy) map[string][]*routingpolicy.RoutePolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBGPGlobal ¶
GetBGPGlobal returns all BGP global configuration from the Network CMDB.
func GetBGPSessions ¶
GetBGPSessions returns all BGP sessions from the Network CMDB.
func GetCommunityLists ¶
func GetCommunityLists() ([]*routingpolicy.CommunityList, error)
GetCommunityLists returns all community-lists from the Network CMDB.
func GetPeerGroups
deprecated
func GetPrefixLists ¶
func GetPrefixLists() ([]*routingpolicy.PrefixList, error)
GetPrefixLists returns all prefix-lists from the Network CMDB.
func GetRoutePolicies ¶
func GetRoutePolicies() ([]*routingpolicy.RoutePolicy, error)
GetRoutePolicies returns all route-policies defined in the CDMB.
func PrecomputeBGPGlobal ¶
PrecomputeBGPGlobal associates each found BGP global configuration to the matching devices.
func PrecomputeBGPSessions ¶
PrecomputeBGPSessions links each BGP sessions to the two matching devices.
func PrecomputeCommunityLists ¶
func PrecomputeCommunityLists(communityLists []*routingpolicy.CommunityList) map[string][]*routingpolicy.CommunityList
PrecomputeCommunityLists associates each found community-lists to the matching devices.
func PrecomputePeerGroups
deprecated
func PrecomputePrefixLists ¶
func PrecomputePrefixLists(prefixLists []*routingpolicy.PrefixList) map[string][]*routingpolicy.PrefixList
PrecomputePrefixLists associates each found prefix-lists to the matching devices.
func PrecomputeRoutePolicies ¶
func PrecomputeRoutePolicies(routePolicies []*routingpolicy.RoutePolicy) map[string][]*routingpolicy.RoutePolicy
PrecomputeRoutePolicies associates each found route-policies to the matching devices.
Types ¶
This section is empty.