summaryrefslogtreecommitdiffstats
path: root/pathd
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2021-05-19 12:28:28 +0200
committerGitHub <noreply@github.com>2021-05-19 12:28:28 +0200
commitea217b376f9f0c99ebe9590ddb226edb9728f1a9 (patch)
tree725da17b425cfb83f5306b0c01fdd7a78e2d03ea /pathd
parentMerge pull request #8688 from idryzhov/bgp-vrf-bind-priv (diff)
parentpathd: Fix affinity command to exclude options to match implementation. (diff)
downloadfrr-ea217b376f9f0c99ebe9590ddb226edb9728f1a9.tar.xz
frr-ea217b376f9f0c99ebe9590ddb226edb9728f1a9.zip
Merge pull request #8667 from volta-networks/fix_pathd_cli_affinity
pathd: Fix affinity command to exclude options to match implementation.
Diffstat (limited to 'pathd')
-rw-r--r--pathd/path_cli.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/pathd/path_cli.c b/pathd/path_cli.c
index 7a28449e4..8e1f94b0f 100644
--- a/pathd/path_cli.c
+++ b/pathd/path_cli.c
@@ -821,9 +821,8 @@ DEFPY(srte_candidate_no_bandwidth,
return nb_cli_apply_changes(vty, NULL);
}
-DEFPY(srte_candidate_affinity_filter,
- srte_candidate_affinity_filter_cmd,
- "affinity {exclude-any|include-any|include-all}$type BITPATTERN$value",
+DEFPY(srte_candidate_affinity_filter, srte_candidate_affinity_filter_cmd,
+ "affinity <exclude-any|include-any|include-all>$type BITPATTERN$value",
"Affinity constraint\n"
"Exclude any matching link\n"
"Include any matching link\n"
@@ -846,9 +845,8 @@ DEFPY(srte_candidate_affinity_filter,
return nb_cli_apply_changes(vty, NULL);
}
-DEFPY(srte_candidate_no_affinity_filter,
- srte_candidate_no_affinity_filter_cmd,
- "no affinity {exclude-any|include-any|include-all}$type [BITPATTERN$value]",
+DEFPY(srte_candidate_no_affinity_filter, srte_candidate_no_affinity_filter_cmd,
+ "no affinity <exclude-any|include-any|include-all>$type [BITPATTERN$value]",
NO_STR
"Affinity constraint\n"
"Exclude any matching link\n"