Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
PAPI: Fix PyLint errors
[csit.git]
/
resources
/
test_data
/
honeycomb
/
l2_fib.py
diff --git
a/resources/test_data/honeycomb/l2_fib.py
b/resources/test_data/honeycomb/l2_fib.py
index
c8fabdc
..
70b1e74
100644
(file)
--- a/
resources/test_data/honeycomb/l2_fib.py
+++ b/
resources/test_data/honeycomb/l2_fib.py
@@
-46,7
+46,7
@@
def get_variables(node, interface, interface2):
'bd_settings': {
'flood': True,
'forward': True,
'bd_settings': {
'flood': True,
'forward': True,
- 'learn':
Tru
e,
+ 'learn':
Fals
e,
'unknown-unicast-flood': True,
'arp-termination': True
},
'unknown-unicast-flood': True,
'arp-termination': True
},
@@
-81,7
+81,7
@@
def get_variables(node, interface, interface2):
# Expected VAT data:
'l2_fib_forward_vat': {
# Expected VAT data:
'l2_fib_forward_vat': {
- "mac":
int("".join(notstatic.split(':')), 16)
,
+ "mac":
notstatic
,
"sw_if_index": sw_if_index,
"static_mac": 0,
"filter_mac": 0,
"sw_if_index": sw_if_index,
"static_mac": 0,
"filter_mac": 0,
@@
-108,7
+108,7
@@
def get_variables(node, interface, interface2):
# Expected VAT data:
'l2_fib_static_forward_vat': {
# Expected VAT data:
'l2_fib_static_forward_vat': {
- "mac":
int("".join(static.split(':')), 16)
,
+ "mac":
static
,
"sw_if_index": sw_if_index,
"static_mac": 1,
"filter_mac": 0,
"sw_if_index": sw_if_index,
"static_mac": 1,
"filter_mac": 0,
@@
-133,7
+133,7
@@
def get_variables(node, interface, interface2):
# Expected VAT data:
'l2_fib_filter_vat': {
# Expected VAT data:
'l2_fib_filter_vat': {
- "mac":
int("".join(filtered.split(':')), 16)
,
+ "mac":
filtered
,
"static_mac": 1,
"filter_mac": 1,
"bvi_mac": 0
"static_mac": 1,
"filter_mac": 1,
"bvi_mac": 0