diff options
Diffstat (limited to 'yang/frr-bgp-route-map.yang')
| -rw-r--r-- | yang/frr-bgp-route-map.yang | 15 | 
1 files changed, 15 insertions, 0 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang index 74008bc078..eaa7891f0c 100644 --- a/yang/frr-bgp-route-map.yang +++ b/yang/frr-bgp-route-map.yang @@ -282,6 +282,12 @@ module frr-bgp-route-map {        "Set the BGP AS-path attribute";    } +  identity as-path-replace { +    base frr-route-map:rmap-set-type; +    description +      "Replace ASNs to local AS number"; +  } +    identity set-community {      base frr-route-map:rmap-set-type;      description @@ -793,6 +799,15 @@ module frr-bgp-route-map {        }      } +    case as-path-replace { +      when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:as-path-replace')"; +      leaf replace-as-path { +        type string; +        description +          "Replace ASNs to local AS number"; +      } +    } +      case community {        when "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action, 'frr-bgp-route-map:set-community')";        choice community {  | 
