summaryrefslogtreecommitdiff
path: root/yang
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-09-11 19:36:26 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-12-09 14:39:18 -0500
commit2ea09c73796c607c424e09058bac58fb609be760 (patch)
treefb21d21f4cbd6ed1c9f4002d4035eb1ee2800fd0 /yang
parent21a22f4cd20ea22c56372014181b58acd9e9d79a (diff)
yang: update vrrp yang model
Remove config / state blocks; this is an OpenConfig-ism that is not relevant for FRR Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-vrrpd.yang27
1 files changed, 4 insertions, 23 deletions
diff --git a/yang/frr-vrrpd.yang b/yang/frr-vrrpd.yang
index e617fe31e9..4089d9309d 100644
--- a/yang/frr-vrrpd.yang
+++ b/yang/frr-vrrpd.yang
@@ -159,6 +159,7 @@ module frr-vrrpd {
"Operational state data for VRRP on IP interfaces";
leaf current-priority {
type uint8;
+ config false;
description
"Operational value of the priority for the
interface in the VRRP group";
@@ -179,29 +180,9 @@ module frr-vrrpd {
key "virtual-router-id";
description
"List of VRRP groups, keyed by virtual router id";
- leaf virtual-router-id {
- type leafref {
- path "../config/virtual-router-id";
- }
- description
- "References the configured virtual router id for this
- VRRP group";
- }
-
- container config {
- description
- "Configuration data for the VRRP group";
- uses ip-vrrp-config;
- }
-
- container state {
- config false;
- description
- "Operational state data for the VRRP group";
- uses ip-vrrp-config;
-
- uses ip-vrrp-state;
- }
+
+ uses ip-vrrp-config;
+ uses ip-vrrp-state;
}
}
}