summaryrefslogtreecommitdiffhomepage
path: root/config/bgp_configs.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r--config/bgp_configs.go29
1 files changed, 29 insertions, 0 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go
index a4a6c0ff..093be338 100644
--- a/config/bgp_configs.go
+++ b/config/bgp_configs.go
@@ -131,6 +131,33 @@ const (
BGP_ORIGIN_ATTR_TYPE_INCOMPLETE = 2
)
+//struct for container gobgp:state
+type BmpServerState struct {
+}
+
+//struct for container gobgp:config
+type BmpServerConfig struct {
+ // original -> gobgp:address
+ //gobgp:address's original type is inet:ip-address
+ Address net.IP
+ // original -> gobgp:port
+ Port uint32
+}
+
+//struct for container gobgp:bmp-server
+type BmpServer struct {
+ // original -> gobgp:bmp-server-config
+ BmpServerConfig BmpServerConfig
+ // original -> gobgp:bmp-server-state
+ BmpServerState BmpServerState
+}
+
+//struct for container gobgp:bmp-servers
+type BmpServers struct {
+ // original -> gobgp:bmp-server
+ BmpServerList []BmpServer
+}
+
//struct for container gobgp:rpki-received
type RpkiReceived struct {
// original -> gobgp:serial-notify
@@ -1320,6 +1347,8 @@ type Bgp struct {
PeerGroups PeerGroups
// original -> gobgp:rpki-servers
RpkiServers RpkiServers
+ // original -> gobgp:bmp-servers
+ BmpServers BmpServers
}
//struct for container bgp-pol:set-ext-community-method