summaryrefslogtreecommitdiffhomepage
path: root/config/bgp_configs.go
diff options
context:
space:
mode:
authorHiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp>2015-07-03 17:39:44 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-07-11 21:40:05 +0900
commitc2bf9c40c3ac8d0a7ef748c2cbd3c99ae469a6ca (patch)
tree14e24e8359a2d9664f525c49148c59ae2437b8b5 /config/bgp_configs.go
parent4a4e711a0824cf5e970d77bb355818e19876394a (diff)
policy: support aspath prepend action
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r--config/bgp_configs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index db07195c..3f0381b5 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -149,6 +149,9 @@ type SetCommunity struct {
//struct for container bgp-pol:set-as-path-prepend
type SetAsPathPrepend struct {
+ // original -> bgp-pol:as
+ //bgp-pol:as's original type is union
+ As string
// original -> bgp-pol:repeat-n
RepeatN uint8
}