diff options
author | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-10-21 11:43:06 +0900 |
---|---|---|
committer | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2015-10-21 11:43:06 +0900 |
commit | 06e15e3490be18bc23ea3c337a389739a5e7db2f (patch) | |
tree | d6b74eb2bcca78f0472ded3cc0795cb92fdf01d6 /tools | |
parent | 3462023cf05939de527aad7bc26da6de1351ed4a (diff) |
tools: add field keys
Signed-off-by: Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/config/example_toml.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/config/example_toml.go b/tools/config/example_toml.go index 4988f648..877f9b51 100644 --- a/tools/config/example_toml.go +++ b/tools/config/example_toml.go @@ -95,21 +95,21 @@ func policy() config.RoutingPolicy { cs := config.CommunitySet{ CommunitySetName: "community1", CommunityList: []config.Community{ - config.Community{"65100:10"}, + config.Community{Community: "65100:10"}, }, } ecs := config.ExtCommunitySet{ ExtCommunitySetName: "ecommunity1", ExtCommunityList: []config.ExtCommunity{ - config.ExtCommunity{"RT:65001:200"}, + config.ExtCommunity{ExtCommunity: "RT:65001:200"}, }, } as := config.AsPathSet{ AsPathSetName: "aspath1", AsPathList: []config.AsPath{ - config.AsPath{"^65100"}, + config.AsPath{AsPath: "^65100"}, }, } |