...
When OSPF is selected for a zone, cloudstack will prompt for additional information in order to configure a inter VPC-Transit network on the existing(?) public network for this zone. A VPC VR router sits at the boundary of the VPC identified by a unique areatiered network in Area X. This router will advertise its routing table to the other Area 0 router which is a core router and also a area boundary routerX routers including the designated router. These routes are then picked up by other boundary routers. When one of the VPC's VM wants to communicate with another VPC's VM the router now knows how to direct the traffic via the VPC/Transit network(which is also the cloudstack public network).
All the VPC VR will be connected to transit network forming OSPF Area X. Cloudstack will auto generate the priorities of these routers that will help them elect a designated router.
...
Following schema objects will be added to the MS schema:
network_details: The zone level dynamic routing parameters for public network will be saved in network details table.
network_offering: the table will be modified and a new field dynamic_routing will be added to it.
user_vm_details: for capturing priority of the OSPF router in order to facilitate selection of designated router.
interface eth0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 ospf
router ospf
ospf router-id 200.0.0.11
log-adjacency-changes
redistribute connected
passive-interface default
no passive-interface eth0
network 200.0.0.0/24 area 0.0.0.0
area 0.0.0.0 authentication message-digest
interface eth0
ipv6 ospf6 instance-id 0
!
router ospf6
router-id 200.0.0.11
redistribute connected
interface eth0 area 0.0.0.0
interface eth0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 ospf
router ospf
ospf router-id 200.0.0.12
log-adjacency-changes
redistribute connected
passive-interface default
no passive-interface eth0
network 200.0.0.0/24 area 0.0.0.0
area 0.0.0.0 authentication message-digest
interface eth0
ipv6 ospf6 instance-id 0
!
router ospf6
router-id 200.0.0.12
redistribute connected
interface eth0 area 0.0.0.0