From 7937d8ddb6f8f82c593fb3b019d1fc618dc89f48 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Thu, 15 Oct 2015 21:12:40 +0900 Subject: 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 --- test/scenario_test/route_server_policy_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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'], } }, } -- cgit v1.2.3