diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-26 17:09:19 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-29 16:05:21 +0200 |
commit | 95018cdaa5c6a2fe106d7be1769d89c00dc62778 (patch) | |
tree | 69b563b965fc3aa7e9145835e8146b6497ff0ca4 /isisd | |
parent | isisd: don't use operational data in "no router isis" (diff) | |
download | frr-95018cdaa5c6a2fe106d7be1769d89c00dc62778.tar.xz frr-95018cdaa5c6a2fe106d7be1769d89c00dc62778.zip |
isisd: don't create instances directly from cli
This must be done only through NB code. The necessary change is enqueued
right on the next two lines.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_cli.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c index d5f86a6f9..9112dc9c9 100644 --- a/isisd/isis_cli.c +++ b/isisd/isis_cli.c @@ -188,7 +188,6 @@ DEFPY_YANG(ip_router_isis, ip_router_isis_cmd, area = isis_area_lookup_by_vrf(tag, vrf_name); if (!area) { - isis_global_instance_create(vrf_name); snprintf(temp_xpath, XPATH_MAXLEN, "/frr-isisd:isis/instance[area-tag='%s'][vrf='%s']", tag, vrf_name); @@ -275,7 +274,6 @@ DEFPY_YANG(ip6_router_isis, ip6_router_isis_cmd, area = isis_area_lookup_by_vrf(tag, vrf_name); if (!area) { - isis_global_instance_create(vrf_name); snprintf(temp_xpath, XPATH_MAXLEN, "/frr-isisd:isis/instance[area-tag='%s'][vrf='%s']", tag, vrf_name); |