diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-10-15 21:12:40 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-10-20 10:33:10 +0900 |
commit | 7937d8ddb6f8f82c593fb3b019d1fc618dc89f48 (patch) | |
tree | 853aa4860dd2a392cb7692c4b13741e2db1a0e26 /test/scenario_test | |
parent | 473f5b6ff32be2829dac2a19bd63df19a7efd4ec (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')
-rw-r--r-- | test/scenario_test/route_server_policy_test.py | 8 |
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'], } }, } |