summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_cli.py
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-11-25 14:45:02 -0500
committerStephen Worley <sworley@cumulusnetworks.com>2019-12-03 15:56:00 -0500
commit0dcff6f46397c4d7d5acbf9b71f63d2528c60300 (patch)
tree04b5a6bf1b469a6656679bbafd05a0d8be71174d /tests/lib/cli/test_cli.py
parentfde8af8d0b5634883393922079c3a688dcec9dd5 (diff)
pbrd: don't silently fail on atomic match IP change attempts
Currently pbrd does not support the abilitity to make atomic changes to a config. ex) `match src-ip 1.1.1.1/32` `match src-ip 1.1.1.0/24` We would overwrite the first one but never actually install it. In the `set nexthop commands` we explicitly fail if there is already a `set nexthop` config present. This patch extends the match src/dest-ip configs to do the same. In the future we should make all these commands atomic but for now its better to not fail silently at the very least. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/cli/test_cli.py')
0 files changed, 0 insertions, 0 deletions