diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-02-16 12:57:30 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-02-22 18:53:24 +0300 |
| commit | 09b150ef2a20948947981fedcc86c82fcfa51a75 (patch) | |
| tree | 8920894979b4987c94fe45fdc58ce5c0d8a6fe16 /lib/vrf.h | |
| parent | 3fa607bebacd4881053414d641e8376b4e4f6e83 (diff) | |
lib: add definitions for vrf xpaths
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/vrf.h')
| -rw-r--r-- | lib/vrf.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
