summaryrefslogtreecommitdiff
path: root/lib/vrf.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-02-23 11:15:31 -0500
committerGitHub <noreply@github.com>2021-02-23 11:15:31 -0500
commit33d1282f3d45d59517fb532ec6a60bdf27faecda (patch)
tree14dcc2e19a87169a31f4e4ddf8fcc31315fd66a5 /lib/vrf.h
parenta09016c833c8f56a4eb567e431e589fb2e0f689c (diff)
parent2ada626940e6396a8313eb5688835e8fc38b571d (diff)
Merge pull request #8095 from idryzhov/fix-nb-stale-pointers
fix stale pointers in northbound nodes
Diffstat (limited to 'lib/vrf.h')
-rw-r--r--lib/vrf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index 32e6fb4289..333d68ce96 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -52,6 +52,9 @@ enum { IFLA_VRF_UNSPEC, IFLA_VRF_TABLE, __IFLA_VRF_MAX };
#define VRF_ALL_CMD_HELP_STR "Specify the VRF\nAll VRFs\n"
#define VRF_FULL_CMD_HELP_STR "Specify the VRF\nThe VRF name\nAll VRFs\n"
+#define FRR_VRF_XPATH "/frr-vrf:lib/vrf"
+#define FRR_VRF_KEY_XPATH "/frr-vrf:lib/vrf[name='%s']"
+
/*
* Pass some OS specific data up through
* to the daemons