Extending L3VPN model to configure BGP peerings

This patchset extends the existing L3VPN model with additional
objects which allow to configure BGP peerings between SDN controllers
or data center gateways.

Change-Id: Id4d8e572f75e7246e9fa7006c792df31b13cea2f
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
This commit is contained in:
Georg Kunz 2017-03-28 19:40:53 +02:00
parent d78f72a61c
commit 4eee5af002
1 changed files with 51 additions and 1 deletions

View File

@ -94,4 +94,54 @@ objects:
export_route_policy:
type: string
length: 32
description: "Route target export policy"
description: "Route target export policy"
BGPPeering:
api:
name: bgppeering
plural_name: bgppeerings
extends: BaseObject
attributes:
local_ip_address:
required: true
type: string
format: ipv4
length: 16
description: "Local IP of the SDN controller which is supposed to
create a new BGP peering with a remote SDN controller
or data center gateway. This local IP is used as a
unique identifier to allow the SDN controllers / shim
layers to determine if a new peering which has been
pushed to etcd is meant for them."
peer_ip_address:
required: true
type: string
format: ipv4
length: 16
description: "IP of the BGP neighbor to establish a peering with."
as_number:
required: true
type: integer
format: int32
description: "Autonomous system number used by the local BGP stack."
DataplaneTunnel:
api:
name: dataplanetunnel
plural_name: dataplanetunnels
extends: BaseObject
attributes:
local_tunnel_endpoint:
required: true
type: string
format: ipv4
length: 16
description: "Local tunnel endpoint IP. This IP is used as a unique
identifier to allow the SDN controller / shim layer to
determine if this dataplane tunnel is supposed to be
handled by them."
remote_tunnel_endpoint:
required: true
type: string
format: ipv4
length: 16
description: "Remote tunnel endpoint IP of the virtual switch or data
center gateway."