MidoNet utilizes the Border Gateway Protocol (BGP) for external connectivity.
For production deployments it is strongly recommended to use BGP due to it’s
scalability and redundancy. For demo or POC environments, alternatively static
routing can be used.
This patch adds a new Puppet custom type and provider to let puppet deployers
to automatically set up BGP uplink configuration:
midonet_gateway { $::hostname:
ensure => present,
midonet_api_url => 'http://127.0.0.1:8080/midonet-api',
username => 'admin',
password => 'admin',
interface => 'testgateway',
local_as => '64512',
bgp_port => { 'port_address' => '198.51.100.2', 'net_prefix' => '198.51.100.0', 'net_length' => '30'},
remote_peers => [{ 'as' => '64513', 'ip' => '198.51.100.1'},
{ 'as' => '64513', 'ip' => '203.0.113.1'}],
advertise_net => [{ 'net_prefix' => '192.0.2.0', 'net_length' => '24' }]
}
Change-Id: Id362e519d12eefe5900060d6b02f92fbf6c54e08