Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
HC Tests: use vpp-fib-management module in dhcp tests (HC2VPP-348)
[csit.git]
/
resources
/
test_data
/
honeycomb
/
plugin_acl.py
diff --git
a/resources/test_data/honeycomb/plugin_acl.py
b/resources/test_data/honeycomb/plugin_acl.py
index
6bd673d
..
aeb5530
100644
(file)
--- a/
resources/test_data/honeycomb/plugin_acl.py
+++ b/
resources/test_data/honeycomb/plugin_acl.py
@@
-121,6
+121,11
@@
def get_variables(test_case, name):
"src_ip": "10::1",
"dst_ip": "11::1",
"dst_net": "11::",
"src_ip": "10::1",
"dst_ip": "11::1",
"dst_net": "11::",
+ # IPs for DUT interface setup
+ "dut_to_tg_if1_ip": "10::2",
+ "dut_to_tg_if2_ip": "20::2",
+ "prefix_length": 64,
+ "gateway": "20::1",
# ICMP code and type for control packet
"icmp_type": 1,
"icmp_code": 0,
# ICMP code and type for control packet
"icmp_type": 1,
"icmp_code": 0,
@@
-165,7
+170,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
}
},
{
}
},
{
@@
-179,7
+184,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "permit":
{}
+ "permit":
["null"]
}
},
]}
}
},
]}
@@
-217,7
+222,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
},
},
{
},
},
{
@@
-229,7
+234,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "permit":
{}
+ "permit":
["null"]
}
}
]}
}
}
]}
@@
-267,7
+272,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
}
},
{
}
},
{
@@
-279,7
+284,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "permit":
{}
+ "permit":
["null"]
}
}
]}
}
}
]}
@@
-295,6
+300,7
@@
def get_variables(test_case, name):
"rule-name": "rule1",
"matches": {
"vpp-ace-nodes": {
"rule-name": "rule1",
"matches": {
"vpp-ace-nodes": {
+ "source-ipv4-network": "0.0.0.0/0",
"tcp-nodes": {
"destination-port-range": {
"lower-port":
"tcp-nodes": {
"destination-port-range": {
"lower-port":
@@
-312,7
+318,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
},
},
{
},
},
{
@@
-324,7
+330,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "permit":
{}
+ "permit":
["null"]
}
}
]}
}
}
]}
@@
-339,6
+345,7
@@
def get_variables(test_case, name):
"rule-name": "ports",
"matches": {
"vpp-ace-nodes": {
"rule-name": "ports",
"matches": {
"vpp-ace-nodes": {
+ "source-ipv4-network": "0.0.0.0/0",
"tcp-nodes": {
"destination-port-range": {
"lower-port":
"tcp-nodes": {
"destination-port-range": {
"lower-port":
@@
-356,7
+363,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
},
},
{
},
},
{
@@
-368,7
+375,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "permit":
{}
+ "permit":
["null"]
}
}
]}
}
}
]}
@@
-384,6
+391,7
@@
def get_variables(test_case, name):
"rule-name": "rule1",
"matches": {
"vpp-ace-nodes": {
"rule-name": "rule1",
"matches": {
"vpp-ace-nodes": {
+ "source-ipv4-network": "0.0.0.0/0",
"icmp-nodes": {
"icmp-type-range": {
"first": "1",
"icmp-nodes": {
"icmp-type-range": {
"first": "1",
@@
-397,7
+405,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
},
},
{
},
},
{
@@
-409,7
+417,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "permit":
{}
+ "permit":
["null"]
}
}
]}
}
}
]}
@@
-425,6
+433,7
@@
def get_variables(test_case, name):
"rule-name": "rule1",
"matches": {
"vpp-ace-nodes": {
"rule-name": "rule1",
"matches": {
"vpp-ace-nodes": {
+ "source-ipv6-network": "::/0",
"icmp-v6-nodes": {
"icmp-type-range": {
"first": "1",
"icmp-v6-nodes": {
"icmp-type-range": {
"first": "1",
@@
-438,7
+447,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
},
},
{
},
},
{
@@
-450,7
+459,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "permit":
{}
+ "permit":
["null"]
}
}
]}
}
}
]}
@@
-477,8
+486,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- # TODO: will be renamed in HC2VPP-57
- "vpp-acl:permit": {}
+ "vpp-acl:permit-and-reflect": ["null"]
},
},
]}
},
},
]}
@@
-499,7
+507,7
@@
def get_variables(test_case, name):
}
},
"actions": {
}
},
"actions": {
- "deny":
{}
+ "deny":
["null"]
}
}
]}
}
}
]}