diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-09-19 08:06:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-19 08:06:36 -0400 |
| commit | 0b8125588ae674a146bcd58e893a60111ceef59e (patch) | |
| tree | b2b14071ad8c97a2fa20ec28d58ae898cf37d5c6 /yang/frr-route-map.yang | |
| parent | dfc51e66bf365b435caece197f11a0f24e997587 (diff) | |
| parent | f6bcffb6232a8e055f2cc4012ffe762e5d18c457 (diff) | |
Merge pull request #7069 from opensourcerouting/fix-set-metric
lib: fix the "set metric" route-map command
Diffstat (limited to 'yang/frr-route-map.yang')
| -rw-r--r-- | yang/frr-route-map.yang | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/yang/frr-route-map.yang b/yang/frr-route-map.yang index c9d35938cb..b22a96a740 100644 --- a/yang/frr-route-map.yang +++ b/yang/frr-route-map.yang @@ -373,15 +373,19 @@ module frr-route-map { case add-metric { leaf add-metric { - description "Add unit to metric."; - type boolean; + description "Add value to metric."; + type uint32 { + range "0..4294967295"; + } } } case subtract-metric { leaf subtract-metric { - description "Subtract unit from metric."; - type boolean; + description "Subtract value from metric."; + type uint32 { + range "0..4294967295"; + } } } |
