diff options
author | Michele Papalini <micpapal@cisco.com> | 2022-10-11 14:40:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2022-10-11 14:40:15 +0000 |
commit | 5ee46ef7ce250a52d85eeafc0dd27de0cd5d6f67 (patch) | |
tree | feb69edecb37ef327bcff0a922f123ceebfc58c2 /ctrl/libhicnctrl/src | |
parent | 0b65acf82a4a1199220d4473d426a9da221e9629 (diff) | |
parent | f4d8a383451074a026ac385e97ec4d03a659cd66 (diff) |
Merge "feat(strategy): forwarding strategy for local faces Ref: HICN-802"
Diffstat (limited to 'ctrl/libhicnctrl/src')
-rw-r--r-- | ctrl/libhicnctrl/src/commands/command_strategy.c | 2 | ||||
-rw-r--r-- | ctrl/libhicnctrl/src/parse.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ctrl/libhicnctrl/src/commands/command_strategy.c b/ctrl/libhicnctrl/src/commands/command_strategy.c index 5605822e7..f7f5974d1 100644 --- a/ctrl/libhicnctrl/src/commands/command_strategy.c +++ b/ctrl/libhicnctrl/src/commands/command_strategy.c @@ -15,7 +15,7 @@ .name = "strategy", \ .help = \ "Strategy type (e.g. 'random', 'loadbalancer', 'low_latency', " \ - "'replication', 'bestpath').", \ + "'replication', 'bestpath', local_remote).", \ .type = TYPE_ENUM(strategy_type), .offset = offsetof(hc_strategy_t, type), \ } diff --git a/ctrl/libhicnctrl/src/parse.c b/ctrl/libhicnctrl/src/parse.c index ca19d8280..25fa98de2 100644 --- a/ctrl/libhicnctrl/src/parse.c +++ b/ctrl/libhicnctrl/src/parse.c @@ -382,6 +382,7 @@ const char * cmds[] = { "set strategy b001::/16 low_latency", "set strategy b001::/16 replication", "set strategy b001::/16 bestpath", + "set strategy b001::/16 local_remote", "set wldr <on|off> <connection_id>", // on-off vs unset "cache clear", "cache store on/off", // set/unset |