diff options
| author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-10-26 14:23:25 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-10-28 16:09:44 -0700 |
| commit | b1c3ae8ce33dff980cc5008c939776327f9b9f11 (patch) | |
| tree | 52267cbe808b610388f88b0a0ccba9e488ebb4ca /ospfd/ospf_network.c | |
| parent | e4715aed63b9b791f35baa8abeb473870bb62213 (diff) | |
ospfd: add vrf option to operational command
Seperate the display option in both vty and json
case 'vrf' is used in show command.
show ip ospf 'vrf all' [json]
Display vrf name as key object in json and vrf name
in vty output.
case 'vrf' is not used then only display default
vrf ospf instance and vrf name is not shown in vty and
json.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_network.c')
| -rw-r--r-- | ospfd/ospf_network.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c index 519e3f9cf4..ed5e8e027d 100644 --- a/ospfd/ospf_network.c +++ b/ospfd/ospf_network.c @@ -184,11 +184,8 @@ int ospf_bind_vrfdevice(struct ospf *ospf, int ospf_sock) zlog_warn("%s: Could not setsockopt SO_BINDTODEVICE %s", __PRETTY_FUNCTION__, safe_strerror(save_errno)); - } else { - zlog_debug("%s: Bind socket %d to vrf %s id %u device", - __PRETTY_FUNCTION__, ospf_sock, - ospf->name, ospf->vrf_id); } + } #endif return ret; |
