nb_cli_enqueue_change(vty, ".", NB_OP_CREATE, NULL);
snprintf(as_str, 12, "%d", bgp->as);
- nb_cli_enqueue_change(vty, "./global/local-as", NB_OP_MODIFY,
- as_str);
+ nb_cli_enqueue_change(vty, "./local-as", NB_OP_MODIFY, as_str);
if (bgp->inst_type == BGP_INSTANCE_TYPE_VIEW) {
- nb_cli_enqueue_change(vty,
- "./global/instance-type-view",
+ nb_cli_enqueue_change(vty, "./instance-type-view",
NB_OP_MODIFY, "true");
}
"frr-bgp:bgp", "bgp", name ? name : VRF_DEFAULT_NAME);
nb_cli_enqueue_change(vty, ".", NB_OP_CREATE, NULL);
- nb_cli_enqueue_change(vty, "./global/local-as", NB_OP_MODIFY,
+ nb_cli_enqueue_change(vty, "./local-as", NB_OP_MODIFY,
argv[idx_asn]->arg);
if (inst_type == BGP_INSTANCE_TYPE_VIEW) {
- nb_cli_enqueue_change(vty,
- "./global/instance-type-view",
+ nb_cli_enqueue_change(vty, "./instance-type-view",
NB_OP_MODIFY, "true");
}
"Override configured router identifier\n"
"Manually configured router identifier\n")
{
- nb_cli_enqueue_change(vty, "./global/router-id", NB_OP_MODIFY,
- router_id_str);
+ nb_cli_enqueue_change(vty, "./router-id", NB_OP_MODIFY, router_id_str);
return nb_cli_apply_changes(vty, NULL);
}
"Override configured router identifier\n"
"Manually configured router identifier\n")
{
- nb_cli_enqueue_change(vty, "./global/router-id", NB_OP_DESTROY,
+ nb_cli_enqueue_change(vty, "./router-id", NB_OP_DESTROY,
router_id_str ? router_id_str : NULL);
return nb_cli_apply_changes(vty, NULL);
{
int idx_ipv4 = 2;
- nb_cli_enqueue_change(
- vty, "./global/route-reflector/route-reflector-cluster-id",
- NB_OP_MODIFY, argv[idx_ipv4]->arg);
+ nb_cli_enqueue_change(vty,
+ "./route-reflector/route-reflector-cluster-id",
+ NB_OP_MODIFY, argv[idx_ipv4]->arg);
return nb_cli_apply_changes(vty, NULL);
}
"Route-Reflector Cluster-id in IP address format\n"
"Route-Reflector Cluster-id as 32 bit quantity\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-reflector/route-reflector-cluster-id",
- NB_OP_DESTROY, NULL);
+ nb_cli_enqueue_change(vty,
+ "./route-reflector/route-reflector-cluster-id",
+ NB_OP_DESTROY, NULL);
return nb_cli_apply_changes(vty, NULL);
}
{
int idx_number = 3;
- nb_cli_enqueue_change(vty, "./global/confederation/identifier",
- NB_OP_MODIFY, argv[idx_number]->arg);
+ nb_cli_enqueue_change(vty, "./confederation/identifier", NB_OP_MODIFY,
+ argv[idx_number]->arg);
return nb_cli_apply_changes(vty, NULL);
}
"AS number\n"
"Set routing domain confederation AS\n")
{
- nb_cli_enqueue_change(vty, "./global/confederation/identifier",
- NB_OP_DESTROY, NULL);
+ nb_cli_enqueue_change(vty, "./confederation/identifier", NB_OP_DESTROY,
+ NULL);
return nb_cli_apply_changes(vty, NULL);
}
int i;
for (i = idx_asn; i < argc; i++)
- nb_cli_enqueue_change(vty, "./global/confederation/member-as",
+ nb_cli_enqueue_change(vty, "./confederation/member-as",
NB_OP_CREATE, argv[i]->arg);
return nb_cli_apply_changes(vty, NULL);
int i;
for (i = idx_asn; i < argc; i++)
- nb_cli_enqueue_change(vty, "./global/confederation/member-as",
+ nb_cli_enqueue_change(vty, "./confederation/member-as",
NB_OP_DESTROY, argv[i]->arg);
return nb_cli_apply_changes(vty, NULL);
"Advertise routes with max-med\n"
"Administratively applied, for an indefinite period\n")
{
- nb_cli_enqueue_change(vty, "./global/med-config/enable-med-admin",
+ nb_cli_enqueue_change(vty, "./med-config/enable-med-admin",
NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
{
int idx_number = 3;
- nb_cli_enqueue_change(vty, "./global/med-config/enable-med-admin",
+ nb_cli_enqueue_change(vty, "./med-config/enable-med-admin",
NB_OP_MODIFY, "true");
- nb_cli_enqueue_change(vty, "./global/med-config/max-med-admin",
- NB_OP_MODIFY, argv[idx_number]->arg);
+ nb_cli_enqueue_change(vty, "./med-config/max-med-admin", NB_OP_MODIFY,
+ argv[idx_number]->arg);
return nb_cli_apply_changes(vty, NULL);
}
"Administratively applied, for an indefinite period\n"
"Max MED value to be used\n")
{
- nb_cli_enqueue_change(vty, "./global/med-config/enable-med-admin",
+ nb_cli_enqueue_change(vty, "./med-config/enable-med-admin",
NB_OP_MODIFY, "false");
- nb_cli_enqueue_change(vty, "./global/med-config/max-med-admin",
- NB_OP_MODIFY, NULL);
+ nb_cli_enqueue_change(vty, "./med-config/max-med-admin", NB_OP_MODIFY,
+ NULL);
return nb_cli_apply_changes(vty, NULL);
}
int idx = 0;
argv_find(argv, argc, "(5-86400)", &idx);
- nb_cli_enqueue_change(vty,
- "./global/med-config/max-med-onstart-up-time",
+ nb_cli_enqueue_change(vty, "./med-config/max-med-onstart-up-time",
NB_OP_MODIFY, argv[idx]->arg);
if (argv_find(argv, argc, "(0-4294967295)", &idx))
- nb_cli_enqueue_change(
- vty, "./global/med-config/max-med-onstart-up-value",
- NB_OP_MODIFY, argv[idx]->arg);
+ nb_cli_enqueue_change(vty,
+ "./med-config/max-med-onstart-up-value",
+ NB_OP_MODIFY, argv[idx]->arg);
else
- nb_cli_enqueue_change(
- vty, "./global/med-config/max-med-onstart-up-value",
- NB_OP_MODIFY, NULL);
+ nb_cli_enqueue_change(vty,
+ "./med-config/max-med-onstart-up-value",
+ NB_OP_MODIFY, NULL);
return nb_cli_apply_changes(vty, NULL);
}
"Time (seconds) period for max-med\n"
"Max MED value to be used\n")
{
- nb_cli_enqueue_change(vty,
- "./global/med-config/max-med-onstart-up-time",
+ nb_cli_enqueue_change(vty, "./med-config/max-med-onstart-up-time",
NB_OP_DESTROY, NULL);
- nb_cli_enqueue_change(vty,
- "./global/med-config/max-med-onstart-up-value",
+ nb_cli_enqueue_change(vty, "./med-config/max-med-onstart-up-value",
NB_OP_MODIFY, NULL);
return nb_cli_apply_changes(vty, NULL);
if (!no)
nb_cli_enqueue_change(
vty,
- "./global/global-neighbor-config/packet-quanta-config/wpkt-quanta",
+ "./global-neighbor-config/packet-quanta-config/wpkt-quanta",
NB_OP_MODIFY, quanta_str);
else
nb_cli_enqueue_change(
vty,
- "./global/global-neighbor-config/packet-quanta-config/wpkt-quanta",
+ "./global-neighbor-config/packet-quanta-config/wpkt-quanta",
NB_OP_MODIFY, NULL);
return nb_cli_apply_changes(vty, NULL);
if (!no)
nb_cli_enqueue_change(
vty,
- "./global/global-neighbor-config/packet-quanta-config/rpkt-quanta",
+ "./global-neighbor-config/packet-quanta-config/rpkt-quanta",
NB_OP_MODIFY, quanta_str);
else
nb_cli_enqueue_change(
vty,
- "./global/global-neighbor-config/packet-quanta-config/rpkt-quanta",
+ "./global-neighbor-config/packet-quanta-config/rpkt-quanta",
NB_OP_MODIFY, NULL);
return nb_cli_apply_changes(vty, NULL);
int idx = 0;
argv_find(argv, argc, "(0-4294967295)", &idx);
- nb_cli_enqueue_change(
- vty, "./global/global-update-group-config/coalesce-time",
- NB_OP_MODIFY, argv[idx]->arg);
+ nb_cli_enqueue_change(vty, "./global-update-group-config/coalesce-time",
+ NB_OP_MODIFY, argv[idx]->arg);
return nb_cli_apply_changes(vty, NULL);
}
"Subgroup coalesce timer\n"
"Subgroup coalesce timer value (in ms)\n")
{
- nb_cli_enqueue_change(
- vty, "./global/global-update-group-config/coalesce-time",
- NB_OP_MODIFY, NULL);
+ nb_cli_enqueue_change(vty, "./global-update-group-config/coalesce-time",
+ NB_OP_MODIFY, NULL);
return nb_cli_apply_changes(vty, NULL);
}
int idx_number = 2;
int idx_number_2 = 3;
- nb_cli_enqueue_change(vty, "./global/global-config-timers/keepalive",
+ nb_cli_enqueue_change(vty, "./global-config-timers/keepalive",
NB_OP_MODIFY, argv[idx_number]->arg);
- nb_cli_enqueue_change(vty, "./global/global-config-timers/hold-time",
+ nb_cli_enqueue_change(vty, "./global-config-timers/hold-time",
NB_OP_MODIFY, argv[idx_number_2]->arg);
return nb_cli_apply_changes(vty, NULL);
"Keepalive interval\n"
"Holdtime\n")
{
- nb_cli_enqueue_change(vty, "./global/global-config-timers/keepalive",
+ nb_cli_enqueue_change(vty, "./global-config-timers/keepalive",
NB_OP_DESTROY, NULL);
- nb_cli_enqueue_change(vty, "./global/global-config-timers/hold-time",
+ nb_cli_enqueue_change(vty, "./global-config-timers/hold-time",
NB_OP_DESTROY, NULL);
return nb_cli_apply_changes(vty, NULL);
"Configure client to client route reflection\n"
"reflection of routes allowed\n")
{
- nb_cli_enqueue_change(vty, "./global/route-reflector/no-client-reflect",
+ nb_cli_enqueue_change(vty, "./route-reflector/no-client-reflect",
NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
"Configure client to client route reflection\n"
"reflection of routes allowed\n")
{
- nb_cli_enqueue_change(vty, "./global/route-reflector/no-client-reflect",
+ nb_cli_enqueue_change(vty, "./route-reflector/no-client-reflect",
NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
"BGP specific commands\n"
"Allow comparing MED from different neighbors\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/always-compare-med",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/always-compare-med",
+ NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
}
"BGP specific commands\n"
"Allow comparing MED from different neighbors\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/always-compare-med",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/always-compare-med",
+ NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
}
"BGP specific commands\n"
"Require in and out policy for eBGP peers (RFC8212)\n")
{
- nb_cli_enqueue_change(vty, "./global/ebgp-requires-policy",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty, "./ebgp-requires-policy", NB_OP_MODIFY,
+ "true");
return nb_cli_apply_changes(vty, NULL);
}
"BGP specific commands\n"
"Require in and out policy for eBGP peers (RFC8212)\n")
{
- nb_cli_enqueue_change(vty, "./global/ebgp-requires-policy",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty, "./ebgp-requires-policy", NB_OP_MODIFY,
+ "false");
return nb_cli_apply_changes(vty, NULL);
}
"BGP specific commands\n"
"Pick the best-MED path among paths advertised from the neighboring AS\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/deterministic-med",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/deterministic-med",
+ NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
}
"BGP specific commands\n"
"Pick the best-MED path among paths advertised from the neighboring AS\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/deterministic-med",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/deterministic-med",
+ NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
}
if (vty->node == CONFIG_NODE)
return bgp_global_graceful_shutdown_config_vty(vty);
- nb_cli_enqueue_change(vty, "./global/graceful-shutdown/enable",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty, "./graceful-shutdown/enable", NB_OP_MODIFY,
+ "true");
return nb_cli_apply_changes(vty, NULL);
}
if (vty->node == CONFIG_NODE)
return bgp_global_graceful_shutdown_deconfig_vty(vty);
- nb_cli_enqueue_change(vty, "./global/graceful-shutdown/enable",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty, "./graceful-shutdown/enable", NB_OP_MODIFY,
+ "false");
return nb_cli_apply_changes(vty, NULL);
}
BGP_STR
"Immediately reset session if a link to a directly connected external peer goes down\n")
{
- nb_cli_enqueue_change(vty, "./global/fast-external-failover",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty, "./fast-external-failover", NB_OP_MODIFY,
+ "false");
return nb_cli_apply_changes(vty, NULL);
}
BGP_STR
"Immediately reset session if a link to a directly connected external peer goes down\n")
{
- nb_cli_enqueue_change(vty, "./global/fast-external-failover",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty, "./fast-external-failover", NB_OP_MODIFY,
+ "true");
return nb_cli_apply_changes(vty, NULL);
}
"Compare router-id for identical EBGP paths\n")
{
nb_cli_enqueue_change(
- vty,
- "./global/route-selection-options/external-compare-router-id",
+ vty, "./route-selection-options/external-compare-router-id",
NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
"Compare router-id for identical EBGP paths\n")
{
nb_cli_enqueue_change(
- vty,
- "./global/route-selection-options/external-compare-router-id",
+ vty, "./route-selection-options/external-compare-router-id",
NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
"AS-path attribute\n"
"Ignore as-path length in selecting a route\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/ignore-as-path-length",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/ignore-as-path-length",
+ NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
}
"AS-path attribute\n"
"Ignore as-path length in selecting a route\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/ignore-as-path-length",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/ignore-as-path-length",
+ NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
}
"AS-path attribute\n"
"Compare path lengths including confederation sets & sequences in selecting a route\n")
{
- nb_cli_enqueue_change(vty,
- "./global/route-selection-options/aspath-confed",
+ nb_cli_enqueue_change(vty, "./route-selection-options/aspath-confed",
NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
"AS-path attribute\n"
"Compare path lengths including confederation sets & sequences in selecting a route\n")
{
- nb_cli_enqueue_change(vty,
- "./global/route-selection-options/aspath-confed",
+ nb_cli_enqueue_change(vty, "./route-selection-options/aspath-confed",
NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
{
int idx = 0;
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/allow-multiple-as",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/allow-multiple-as",
+ NB_OP_MODIFY, "true");
if (argv_find(argv, argc, "as-set", &idx))
nb_cli_enqueue_change(
- vty,
- "./global/route-selection-options/multi-path-as-set",
+ vty, "./route-selection-options/multi-path-as-set",
NB_OP_MODIFY, "true");
else
nb_cli_enqueue_change(
- vty,
- "./global/route-selection-options/multi-path-as-set",
+ vty, "./route-selection-options/multi-path-as-set",
NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
"Generate an AS_SET\n"
"Do not generate an AS_SET\n")
{
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/allow-multiple-as",
- NB_OP_MODIFY, "false");
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/multi-path-as-set",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/allow-multiple-as",
+ NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/multi-path-as-set",
+ NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
}
"BGP specific commands\n"
"Log neighbor up/down and reset reason\n")
{
- nb_cli_enqueue_change(
- vty, "./global/global-neighbor-config/log-neighbor-changes",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty,
+ "./global-neighbor-config/log-neighbor-changes",
+ NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
}
"BGP specific commands\n"
"Log neighbor up/down and reset reason\n")
{
- nb_cli_enqueue_change(
- vty, "./global/global-neighbor-config/log-neighbor-changes",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty,
+ "./global-neighbor-config/log-neighbor-changes",
+ NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
}
if (argv_find(argv, argc, "confed", &idx))
confed = true;
- nb_cli_enqueue_change(vty,
- "./global/route-selection-options/confed-med",
+ nb_cli_enqueue_change(vty, "./route-selection-options/confed-med",
NB_OP_MODIFY, confed ? "true" : "false");
idx = 0;
if (argv_find(argv, argc, "missing-as-worst", &idx))
worst_med = true;
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/missing-as-worst-med",
- NB_OP_MODIFY, worst_med ? "true" : "false");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/missing-as-worst-med",
+ NB_OP_MODIFY, worst_med ? "true" : "false");
return nb_cli_apply_changes(vty, NULL);
}
int idx = 0;
if (argv_find(argv, argc, "confed", &idx))
- nb_cli_enqueue_change(
- vty, "./global/route-selection-options/confed-med",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty,
+ "./route-selection-options/confed-med",
+ NB_OP_MODIFY, "false");
idx = 0;
if (argv_find(argv, argc, "missing-as-worst", &idx))
nb_cli_enqueue_change(
- vty,
- "./global/route-selection-options/missing-as-worst-med",
+ vty, "./route-selection-options/missing-as-worst-med",
NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
"Configure BGP defaults\n"
"Show hostname in certain command outputs\n")
{
- nb_cli_enqueue_change(vty, "./global/show-hostname", NB_OP_MODIFY,
- "true");
+ nb_cli_enqueue_change(vty, "./show-hostname", NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
}
"Configure BGP defaults\n"
"Show hostname in certain command outputs\n")
{
- nb_cli_enqueue_change(vty, "./global/show-hostname", NB_OP_MODIFY,
- "false");
+ nb_cli_enqueue_change(vty, "./show-hostname", NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
}
"Configure BGP defaults\n"
"Show hostname for nexthop in certain command outputs\n")
{
- nb_cli_enqueue_change(vty, "./global/show-nexthop-hostname",
- NB_OP_MODIFY, "true");
+ nb_cli_enqueue_change(vty, "./show-nexthop-hostname", NB_OP_MODIFY,
+ "true");
return nb_cli_apply_changes(vty, NULL);
}
"Configure BGP defaults\n"
"Show hostname for nexthop in certain command outputs\n")
{
- nb_cli_enqueue_change(vty, "./global/show-nexthop-hostname",
- NB_OP_MODIFY, "false");
+ nb_cli_enqueue_change(vty, "./show-nexthop-hostname", NB_OP_MODIFY,
+ "false");
return nb_cli_apply_changes(vty, NULL);
}
"BGP network command\n"
"Check BGP network route exists in IGP\n")
{
- nb_cli_enqueue_change(vty, "./global/import-check", NB_OP_MODIFY,
- "true");
+ nb_cli_enqueue_change(vty, "./import-check", NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
}
"BGP network command\n"
"Check BGP network route exists in IGP\n")
{
- nb_cli_enqueue_change(vty, "./global/import-check", NB_OP_MODIFY,
- "false");
+ nb_cli_enqueue_change(vty, "./import-check", NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
}
{
int idx_number = 3;
- nb_cli_enqueue_change(vty, "./global/local-pref", NB_OP_MODIFY,
+ nb_cli_enqueue_change(vty, "./local-pref", NB_OP_MODIFY,
argv[idx_number]->arg);
return nb_cli_apply_changes(vty, NULL);
"local preference (higher=more preferred)\n"
"Configure default local preference value\n")
{
- nb_cli_enqueue_change(vty, "./global/local-pref", NB_OP_MODIFY, NULL);
+ nb_cli_enqueue_change(vty, "./local-pref", NB_OP_MODIFY, NULL);
return nb_cli_apply_changes(vty, NULL);
}
int idx_number = 3;
nb_cli_enqueue_change(
- vty,
- "./global/global-update-group-config/subgroup-pkt-queue-size",
+ vty, "./global-update-group-config/subgroup-pkt-queue-size",
NB_OP_MODIFY, argv[idx_number]->arg);
return nb_cli_apply_changes(vty, NULL);
"Configure subgroup packet queue max\n")
{
nb_cli_enqueue_change(
- vty,
- "./global/global-update-group-config/subgroup-pkt-queue-size",
+ vty, "./global-update-group-config/subgroup-pkt-queue-size",
NB_OP_MODIFY, NULL);
return nb_cli_apply_changes(vty, NULL);
"Allow modifications made by out route-map\n"
"on ibgp neighbors\n")
{
- nb_cli_enqueue_change(vty,
- "./global/route-reflector/allow-outbound-policy",
+ nb_cli_enqueue_change(vty, "./route-reflector/allow-outbound-policy",
NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
"Allow modifications made by out route-map\n"
"on ibgp neighbors\n")
{
- nb_cli_enqueue_change(vty,
- "./global/route-reflector/allow-outbound-policy",
+ nb_cli_enqueue_change(vty, "./route-reflector/allow-outbound-policy",
NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
int idx_number = 3;
nb_cli_enqueue_change(
- vty, "./global/global-neighbor-config/dynamic-neighbors-limit",
+ vty, "./global-neighbor-config/dynamic-neighbors-limit",
NB_OP_MODIFY, argv[idx_number]->arg);
return nb_cli_apply_changes(vty, NULL);
"Configure Dynamic Neighbors listen limit value\n")
{
nb_cli_enqueue_change(
- vty, "./global/global-neighbor-config/dynamic-neighbors-limit",
+ vty, "./global-neighbor-config/dynamic-neighbors-limit",
NB_OP_DESTROY, NULL);
return nb_cli_apply_changes(vty, NULL);
"BGP specific commands\n"
"Disable checking if nexthop is connected on ebgp sessions\n")
{
- nb_cli_enqueue_change(vty,
- "./global/ebgp-multihop-connected-route-check",
+ nb_cli_enqueue_change(vty, "./ebgp-multihop-connected-route-check",
NB_OP_MODIFY, "true");
return nb_cli_apply_changes(vty, NULL);
"BGP specific commands\n"
"Disable checking if nexthop is connected on ebgp sessions\n")
{
- nb_cli_enqueue_change(vty,
- "./global/ebgp-multihop-connected-route-check",
+ nb_cli_enqueue_change(vty, "./ebgp-multihop-connected-route-check",
NB_OP_MODIFY, "false");
return nb_cli_apply_changes(vty, NULL);
"Configure BGP defaults\n"
"Apply administrative shutdown to newly configured peers\n")
{
- nb_cli_enqueue_change(vty, "./global/default-shutdown", NB_OP_MODIFY,
+ nb_cli_enqueue_change(vty, "./default-shutdown", NB_OP_MODIFY,
strmatch(argv[0]->text, "no") ? "false" : "true");
return nb_cli_apply_changes(vty, NULL);