diff options
author | Florin Coras <fcoras@cisco.com> | 2019-01-21 17:36:28 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-23 11:03:27 +0000 |
commit | e51a7a08492190684041a2232dbeacf064d3645a (patch) | |
tree | 8c6abc720b102f8e655da621f3f9fb026a1ac96e /src/vnet/lisp-cp/one_cli.c | |
parent | 7425f9289bdc17d330044b0df0fc31cdeeca626b (diff) |
lisp: cli for marking local mappings authoritative
Change-Id: I92af6455b50a49de4c912737fcd3b7787dd31de0
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/one_cli.c')
-rw-r--r-- | src/vnet/lisp-cp/one_cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/one_cli.c b/src/vnet/lisp-cp/one_cli.c index 7823ea14cd9..70d755b985c 100644 --- a/src/vnet/lisp-cp/one_cli.c +++ b/src/vnet/lisp-cp/one_cli.c @@ -178,6 +178,8 @@ lisp_add_del_local_eid_command_fn (vlib_main_t * vm, unformat_input_t * input, } locator_set_index = p[0]; } + else if (unformat (line_input, "authoritative")) + a->authoritative = 1; else { error = unformat_parse_error (line_input); |