diff options
author | Shinpei Muraoka <shinpei.muraoka@gmail.com> | 2017-02-09 16:29:23 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-02-11 14:21:04 +0900 |
commit | 83bf7fae1db9a6375ffea2d5005a20a431db761f (patch) | |
tree | e0dde265f767a7df96d2757c992a3fae64e564df | |
parent | 79741fdc889d6353561e8f5d8de89792be1ada6f (diff) |
test_bgp: Add test cases for Flow Specification
This patch adds the test cases for
Flow Specification NLRI in MP_REAACH NLRI and
Traffic Filtering Actions in EXTENDED_COMMUNITIES.
Signed-off-by: Shinpei Muraoka <shinpei.muraoka@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/tests/packet_data/bgp4/flowspec_action_redirect.pcap | bin | 0 -> 173 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/bgp4/flowspec_action_traffic_action.pcap | bin | 0 -> 173 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/bgp4/flowspec_action_traffic_marking.pcap | bin | 0 -> 173 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/bgp4/flowspec_action_traffic_rate.pcap | bin | 0 -> 173 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/bgp4/flowspec_nlri_ipv4.pcap | bin | 0 -> 217 bytes | |||
-rw-r--r-- | ryu/tests/packet_data/bgp4/flowspec_nlri_vpn4.pcap | bin | 0 -> 217 bytes | |||
-rw-r--r-- | ryu/tests/unit/packet/test_bgp.py | 6 |
7 files changed, 6 insertions, 0 deletions
diff --git a/ryu/tests/packet_data/bgp4/flowspec_action_redirect.pcap b/ryu/tests/packet_data/bgp4/flowspec_action_redirect.pcap Binary files differnew file mode 100644 index 00000000..70d65ee4 --- /dev/null +++ b/ryu/tests/packet_data/bgp4/flowspec_action_redirect.pcap diff --git a/ryu/tests/packet_data/bgp4/flowspec_action_traffic_action.pcap b/ryu/tests/packet_data/bgp4/flowspec_action_traffic_action.pcap Binary files differnew file mode 100644 index 00000000..952723ea --- /dev/null +++ b/ryu/tests/packet_data/bgp4/flowspec_action_traffic_action.pcap diff --git a/ryu/tests/packet_data/bgp4/flowspec_action_traffic_marking.pcap b/ryu/tests/packet_data/bgp4/flowspec_action_traffic_marking.pcap Binary files differnew file mode 100644 index 00000000..8f00c0f9 --- /dev/null +++ b/ryu/tests/packet_data/bgp4/flowspec_action_traffic_marking.pcap diff --git a/ryu/tests/packet_data/bgp4/flowspec_action_traffic_rate.pcap b/ryu/tests/packet_data/bgp4/flowspec_action_traffic_rate.pcap Binary files differnew file mode 100644 index 00000000..9f20f5e6 --- /dev/null +++ b/ryu/tests/packet_data/bgp4/flowspec_action_traffic_rate.pcap diff --git a/ryu/tests/packet_data/bgp4/flowspec_nlri_ipv4.pcap b/ryu/tests/packet_data/bgp4/flowspec_nlri_ipv4.pcap Binary files differnew file mode 100644 index 00000000..c7953484 --- /dev/null +++ b/ryu/tests/packet_data/bgp4/flowspec_nlri_ipv4.pcap diff --git a/ryu/tests/packet_data/bgp4/flowspec_nlri_vpn4.pcap b/ryu/tests/packet_data/bgp4/flowspec_nlri_vpn4.pcap Binary files differnew file mode 100644 index 00000000..74a7d174 --- /dev/null +++ b/ryu/tests/packet_data/bgp4/flowspec_nlri_vpn4.pcap diff --git a/ryu/tests/unit/packet/test_bgp.py b/ryu/tests/unit/packet/test_bgp.py index 6c764b67..07b21f91 100644 --- a/ryu/tests/unit/packet/test_bgp.py +++ b/ryu/tests/unit/packet/test_bgp.py @@ -283,6 +283,12 @@ class Test_bgp(unittest.TestCase): 'evpn_nlri_inc_multi_eth_tag', 'evpn_nlri_eth_seg', 'evpn_nlri_ip_prefix', + 'flowspec_nlri_ipv4', + 'flowspec_nlri_vpn4', + 'flowspec_action_traffic_rate', + 'flowspec_action_traffic_action', + 'flowspec_action_redirect', + 'flowspec_action_traffic_marking', ] for f in files: |