diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-01-30 04:54:25 -0500 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-02-11 15:49:49 -0200 |
| commit | 95ce849b58cb8706b32d6cfb957286c8007da37e (patch) | |
| tree | 62b76d34d6fbdcd520ff02bd55d3a1b5f4decb98 /lib/if.c | |
| parent | d01b92fd7507d64bec89350daf725aa6fb9fdcf4 (diff) | |
libs, rip, isis: change northbound operation enum to DESTROY
Change the northbound lib operation from DELETE to DESTROY;
make the required changes in the users of the northbound, in
the cli, rip, ripng, and isis.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/if.c')
| -rw-r--r-- | lib/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1160,7 +1160,7 @@ DEFPY (no_interface, if (!vrfname) vrfname = VRF_DEFAULT_NAME; - nb_cli_enqueue_change(vty, ".", NB_OP_DELETE, NULL); + nb_cli_enqueue_change(vty, ".", NB_OP_DESTROY, NULL); return nb_cli_apply_changes( vty, "/frr-interface:lib/interface[name='%s'][vrf='%s']", @@ -1207,7 +1207,7 @@ DEFPY (no_interface_desc, NO_STR "Interface specific description\n") { - nb_cli_enqueue_change(vty, "./description", NB_OP_DELETE, NULL); + nb_cli_enqueue_change(vty, "./description", NB_OP_DESTROY, NULL); return nb_cli_apply_changes(vty, NULL); } |
