Scaling Up OpenStack Networking with Routed Networks
Carl Baldwin, Neutron Developer, IBM Cloud @CarlNBaldwin Miguel Lavalle, Neutron Development Lead, IBM Linux Technology Center
Scaling Up OpenStack Networking with Routed Networks Carl Baldwin, - - PowerPoint PPT Presentation
Scaling Up OpenStack Networking with Routed Networks Carl Baldwin, Neutron Developer, IBM Cloud @CarlNBaldwin Miguel Lavalle, Neutron Development Lead, IBM Linux Technology Center Agenda Why Routed Networks Layer 2 and layer-3
Carl Baldwin, Neutron Developer, IBM Cloud @CarlNBaldwin Miguel Lavalle, Neutron Development Lead, IBM Linux Technology Center
TenantA-VM1 10.0.0.2 TenantA-VM3 9.0.0.2 TenantA-VM2 10.0.0.3 9.0.0.3
Load Balancer Public Net 88.0.0.0/18 Tenant-A Net1 10.0.0.0/24 Tenant-A Net2 9.0.0.0/24
VXLAN 123567 physnet1 VLAN 37 physnet2 VLAN 413 VM 1 VM 2 VM 3
VXLAN 123567 physnet1 VLAN 37
VM VM VM VM VM VM
physnet1 VLAN 820
VM VM VM VM VM VM
Layer-2 network
network-1
VM VM VM VM VM VM
network-2
VM VM VM VM VM VM
network-3
VM VM VM VM VM VM
segment 1
VM VM VM VM VM
segment 2
VM VM VM VM VM
Layer-3 Layer-2
encapsulated traffic will be sent on
segment 1 172.16.0.0/22 segment 2 172.16.2.0/22 segment 3 172.16.8.0/22 segment 1 172.16.12.0/22
multinet-segment1-subnet
segment 1 172.16.0.0/22 segment 2 172.16.2.0/22 segment 3 172.16.8.0/22 segment 1 172.16.12.0/22 DHCP DHCP DHCP DHCP If segments are small, DHCP can run in one of the compute nodes in each rack
gateway
segment 1 physnet1 172.16.0.0/22 segment 2 segment 3 segment 1 physnet1 172.16.4.0/22 physnet1 172.16.8.0/22 physnet1 172.16.12.0/22 Datacenter Routing 203.0.113.0.251
203.0.113.0/24 203.0.113.0.43
BGP Speaker
Segments topology and ip address availability have to be considered by the Nova scheduler to place instances in compute nodes if routed networks are involved, both when booting and when live migrating
segment 1 172.16.0.0/22 segment 2 172.16.2.0/22 segment 3 172.16.8.0/22 segment 1 172.16.12.0/22
User requests Scheduler places instance at: Boot with port id. Port has no IP address Any segment with available ip addresses Boot with port id. Port has IP address Segment with subnet containing ip address Boot with network id Any segment with available ip addresses Instance move Segment with subnet containing ip address
Resource Pool Inventories Aggregates DISK_GB IPV4_ADDRESS Host 1 Host n
….. A resource pool represents a provider of resources: e.g. segments provide IPv4 addresses
Resource Pool Inventories Aggregates IPV4_ADDRESS Host 1 Host n
….. Only created for routed networks segments
‘Neutron segment id <uuid>’
Updated for every subnet associated with the segment Based on hosts segments mapping
allinone compute1 segment 1 compute2 + Network compute3 segment 2 iprouter 10.1.0.0/24 fd2a:d02c:d36b:1a::/64 physnet1, vlan id 2016 10.1.1.0/24 fd2a:d02c:d36b:1b::/64 physnet2, vlan id 2016 https://github.com/miguellavalle/routednetworksvagrant