summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_server_policy_test.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-10-15 21:12:40 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-20 10:33:10 +0900
commit7937d8ddb6f8f82c593fb3b019d1fc618dc89f48 (patch)
tree853aa4860dd2a392cb7692c4b13741e2db1a0e26 /test/scenario_test/route_server_policy_test.py
parent473f5b6ff32be2829dac2a19bd63df19a7efd4ec (diff)
policy: clean up
remove redundant api structures and shorten valiable names re-implement *ToApiStruct functions as a method of each structures Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/route_server_policy_test.py')
-rw-r--r--test/scenario_test/route_server_policy_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario_test/route_server_policy_test.py b/test/scenario_test/route_server_policy_test.py
index 1d372619..490d0173 100644
--- a/test/scenario_test/route_server_policy_test.py
+++ b/test/scenario_test/route_server_policy_test.py
@@ -2764,7 +2764,7 @@ class ImportPolicyExCommunityAdd(object):
'SetExtCommunity': {
'Options': 'ADD',
'SetExtCommunityMethod': {
- 'Communities': ['0:2:0xfd:0xe8:0:0:0:1']
+ 'Communities': ['rt:65000:1'],
}
},
}
@@ -2838,7 +2838,7 @@ class ImportPolicyExCommunityAdd2(object):
'SetExtCommunity': {
'Options': 'ADD',
'SetExtCommunityMethod': {
- 'Communities': ['0:2:0xfe:0x4c:0:0:0:0x64']
+ 'Communities': ['rt:65100:100'],
}
},
}
@@ -2917,7 +2917,7 @@ class ImportPolicyExCommunityMultipleAdd(object):
'SetExtCommunity': {
'Options': 'ADD',
'SetExtCommunityMethod': {
- 'Communities': ['0:2:0xfe:0x4c:0:0:0:0x64', '0:2:0:0x64:0:0:0:0x64']
+ 'Communities': ['rt:65100:100', 'rt:100:100'],
}
},
}
@@ -2996,7 +2996,7 @@ class ExportPolicyExCommunityAdd(object):
'SetExtCommunity': {
'Options': 'ADD',
'SetExtCommunityMethod': {
- 'Communities': ['0:2:0xfd:0xe8:0:0:0:1'],
+ 'Communities': ['rt:65000:1'],
}
},
}