diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2020-07-21 06:47:03 +0200 |
---|---|---|
committer | Chirag Shah <chirag@cumulusnetworks.com> | 2020-08-01 01:21:45 +0200 |
commit | 37746447c1cfe8835304b72895b0f97ad9d8ada6 (patch) | |
tree | f57efad2e7418707052e7194c9d02859bc7575c5 /yang | |
parent | Merge pull request #6778 from mjstapp/fix_topo_route_scale (diff) | |
download | frr-37746447c1cfe8835304b72895b0f97ad9d8ada6.tar.xz frr-37746447c1cfe8835304b72895b0f97ad9d8ada6.zip |
yang: create route-map leafref reference type
Create leafref reference type for route-map name.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'yang')
-rw-r--r-- | yang/frr-route-map.yang | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/yang/frr-route-map.yang b/yang/frr-route-map.yang index 734b984d7..8f4ba608e 100644 --- a/yang/frr-route-map.yang +++ b/yang/frr-route-map.yang @@ -64,6 +64,15 @@ module frr-route-map { type string; } + typedef route-map-ref { + type leafref { + path "/frr-route-map:lib/frr-route-map:route-map/frr-route-map:name"; + require-instance false; + } + description + "Reference to a route-map."; + } + /* * Operational data. */ |