smc-python icon indicating copy to clipboard operation
smc-python copied to clipboard

BGPpeering + RouteMap

Open meandus opened this issue 7 years ago • 1 comments

Hi David,

How to add a RouteMap in a BGP Peering object ?

Thanks in advance,

image

meandus avatar Oct 15 '18 13:10 meandus

Hi Remy, It seems I need to add helper methods for this functionality. However you can still easily do this:

peering = BGPPeering('MyPeering')
route_map = RouteMap('MyRouteMap')
peering.update(outbound_rm_filter=route_map.href)    

The two attributes correlating to inbound and outbound filters are: outbound_rm_filter inbound_rm_filter

gabstopper avatar Oct 16 '18 00:10 gabstopper