From 9f9d2614ff5bd0d2a1729d1793a9bd6ca3def717 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Wed, 18 Apr 2018 08:19:36 +0200 Subject: HC2VPP-313: examples using nnclient library Shows how to configure VPP using nnclient library. Requires following changes to ODL Netconf (HC2VPP-312): - support: https://git.opendaylight.org/gerrit/#/c/69606/ - various fixes to make ODL Netconf compatible with nnclient: https://git.opendaylight.org/gerrit/#/c/71181/ and ncclient library with the following change: https://github.com/marekgr/ncclient/commit/fbc31b06daf114c11dcb6bf1bcfac9127b2e0062 Change-Id: I3dceb8ead6e6f558a3c76f6c1c3b0ba5f7c52f93 Signed-off-by: Marek Gradzki (cherry picked from commit 2e96f3423a2619cd2aa9d188de513723416c15e6) --- .../ncclient/acl/expected_config_acl_update.xml | 209 +++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 examples/ncclient/acl/expected_config_acl_update.xml (limited to 'examples/ncclient/acl/expected_config_acl_update.xml') diff --git a/examples/ncclient/acl/expected_config_acl_update.xml b/examples/ncclient/acl/expected_config_acl_update.xml new file mode 100644 index 000000000..17f76ff69 --- /dev/null +++ b/examples/ncclient/acl/expected_config_acl_update.xml @@ -0,0 +1,209 @@ + + + + + + 0 + + + + + + local0 + x:ethernetCsmacd + false + + + loop1 + for testing purposes + x:loopback + + 00:ff:ff:ff:ff:ff + + + + + x:vpp-macip-acl + macip-acl + + + + + + loop2 + for testing purposes + x:loopback + + aa:ff:ff:ff:ff:ff + + + + + x:vpp-acl + tcp-acl2 + + + x:vpp-acl + udp-acl + + + + + + + + macip-acl + x:vpp-macip-acl + + + macip-rule + + + 192.168.2.2/32 + aa:aa:aa:aa:aa:aa + ff:00:00:00:00:00 + + + + + + + + + + icmp-v6-acl + x:vpp-acl + + + imcp-v6-rule + + + 2001:0db8:0a0b:12f0:0000:0000:0000:0001/64 + + 2001:0db8:0a0b:12f0:0000:0000:0000:0002/48 + + + 8 + 5 + + + 3 + 1 + + + + + + + + + + + + udp-acl + x:vpp-acl + + + udp-rule + + + 192.168.2.1/24 + 192.168.2.2/32 + + + 5486 + 11 + + + + + + + + + + + + tcp-acl2 + x:vpp-acl + + + tcp-rule + + + 192.168.2.1/24 + 192.168.2.2/32 + + + 5487 + 1 + + + 6745 + 87 + + 1 + 7 + + + + + + + + + + + icmp-acl + x:vpp-acl + + + renamed-imcp-rule + + + 192.168.2.1/24 + 192.168.2.2/32 + + + 8 + 5 + + + 3 + 1 + + + + + + + + + + new-icmp-rule + + + 10.1.1.1/24 + 10.2.2.2/32 + + + 4 + 9 + + + + + + + + + + + + -- cgit 1.2.3-korg