mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
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>
This commit is contained in:
parent
f2c170ce95
commit
95018cdaa5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user