mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 22:26:14 +00:00
Merge pull request #9315 from idryzhov/pathd-cli-fixes
pathd: a couple of cli/doc fixes
This commit is contained in:
commit
720f165fc9
@ -52,10 +52,10 @@ Example:
|
||||
index 20 mpls label 16030
|
||||
!
|
||||
segment-list SL2
|
||||
index 10 nai prefix 10.1.2.1/32 iface 1
|
||||
index 20 nai adjacency 10.1.20.1 10.1.20.2
|
||||
index 30 nai prefix 10.10.10.5/32 algorithm 0
|
||||
index 40 mpls label 18001
|
||||
index 10 nai prefix 10.1.2.1/32 iface 1
|
||||
index 20 nai adjacency 10.1.20.1 10.1.20.2
|
||||
index 30 nai prefix 10.10.10.5/32 algorithm 0
|
||||
index 40 mpls label 18001
|
||||
!
|
||||
policy color 1 endpoint 1.1.1.1
|
||||
name default
|
||||
@ -70,7 +70,7 @@ Example:
|
||||
!
|
||||
pcep
|
||||
pce-config GROUP1
|
||||
source-address 1.1.1.1
|
||||
source-address ip 1.1.1.1
|
||||
tcp-md5-auth secret
|
||||
timer keep-alive 30
|
||||
!
|
||||
|
@ -550,7 +550,7 @@ void cli_show_srte_segment_list_segment(struct vty *vty,
|
||||
struct lyd_node *dnode,
|
||||
bool show_defaults)
|
||||
{
|
||||
vty_out(vty, " index %s ", yang_dnode_get_string(dnode, "./index"));
|
||||
vty_out(vty, " index %s", yang_dnode_get_string(dnode, "./index"));
|
||||
if (yang_dnode_exists(dnode, "./sid-value")) {
|
||||
vty_out(vty, " mpls label %s",
|
||||
yang_dnode_get_string(dnode, "./sid-value"));
|
||||
|
@ -516,16 +516,16 @@ uint32_t path_ted_config_write(struct vty *vty)
|
||||
{
|
||||
|
||||
if (ted_state_g.enabled) {
|
||||
vty_out(vty, " mpls-te on\n");
|
||||
vty_out(vty, " mpls-te on\n");
|
||||
switch (ted_state_g.import) {
|
||||
case IMPORT_ISIS:
|
||||
vty_out(vty, " mpls-te import isis\n");
|
||||
vty_out(vty, " mpls-te import isis\n");
|
||||
break;
|
||||
case IMPORT_OSPFv2:
|
||||
vty_out(vty, " mpls-te import ospfv2\n");
|
||||
vty_out(vty, " mpls-te import ospfv2\n");
|
||||
break;
|
||||
case IMPORT_OSPFv3:
|
||||
vty_out(vty, " mpls-te import ospfv3\n");
|
||||
vty_out(vty, " mpls-te import ospfv3\n");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user