Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions dim-testsuite/t/history-ipblock-layer3domain-filter.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# "history ipblock CIDR layer3domain X" shows only the history of X; without a
# layer3domain the history of all layer3domains is shown.
$ ndcli create layer3domain two type vrf rd 0:2
$ ndcli create container 10.0.0.0/8 layer3domain default
INFO - Creating container 10.0.0.0/8 in layer3domain default
$ ndcli create container 10.0.0.0/8 layer3domain two
INFO - Creating container 10.0.0.0/8 in layer3domain two

$ ndcli history ipblock 10.0.0.0/8 layer3domain two
timestamp user tool originating_ip objclass name action
2019-01-15 11:06:07.659774 admin native 127.0.0.1 ipblock 10.0.0.0/8 created in layer3domain two

$ ndcli history ipblock 10.0.0.0/8 layer3domain default
timestamp user tool originating_ip objclass name action
2019-01-15 11:06:07.509940 admin native 127.0.0.1 ipblock 10.0.0.0/8 created in layer3domain default

$ ndcli history ipblock 10.0.0.0/8
timestamp user tool originating_ip objclass name action
2019-01-15 11:06:07.659774 admin native 127.0.0.1 ipblock 10.0.0.0/8 created in layer3domain two
2019-01-15 11:06:07.509940 admin native 127.0.0.1 ipblock 10.0.0.0/8 created in layer3domain default
Loading