smc-python
smc-python copied to clipboard
BGPpeering + RouteMap
Hi David,
How to add a RouteMap in a BGP Peering object ?
Thanks in advance,

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