realm_test.py: pep8 name

This commit is contained in:
Jed Reynolds
2020-06-16 23:20:13 -07:00
parent e640e2ff9e
commit 9d5381b920

View File

@@ -97,35 +97,35 @@ print("** Removing previous CXs **")
print("** Creating Layer 3 CXs **")
try:
cxProfile = localrealm.new_l3_cx_profile()
cx_profile = localrealm.new_l3_cx_profile()
# set attributes of cxProfile
cxProfile.create("lf_udp", side_a="1.1.eth1", side_b=list(localrealm.find_ports_like("sta+")))
cx_profile.create("lf_udp", side_a="1.1.eth1", side_b=list(localrealm.find_ports_like("sta+")))
except Exception as x:
pprint(x)
exit(1)
try:
cxProfile = localrealm.new_l3_cx_profile()
cx_profile = localrealm.new_l3_cx_profile()
# set attributes of cxProfile
cxProfile.create("lf_udp", side_a=list(localrealm.find_ports_like("sta+")), side_b="1.1.eth1")
cx_profile.create("lf_udp", side_a=list(localrealm.find_ports_like("sta+")), side_b="1.1.eth1")
except Exception as x:
pprint(x)
exit(1)
print("** Creating Layer 4 CXs **")
try:
cxProfile = localrealm.new_l4_cx_profile()
cx_profile = localrealm.new_l4_cx_profile()
# set attributes of cxProfile
cxProfile.create(localrealm.find_ports_like("sta+"))
cx_profile.create(localrealm.find_ports_like("sta+"))
except Exception as x:
pprint(x)
exit(1)
print("** Creating Generic CXs **")
try:
cxProfile = localrealm.new_generic_cx_profile()
cx_profile = localrealm.new_generic_cx_profile()
# set attributes of cxProfile
cxProfile.create(localrealm.find_ports_like("sta+"))
cx_profile.create(localrealm.find_ports_like("sta+"))
except Exception as x:
pprint(x)
exit(1)