Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Limitation: In this first implementation, 1.  only one OSPF area per Zone will be supported, 2. the implementation will be for IPv4 only.

...

DB Schema changes

 

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.

 

 

APPENDIX


Quagga commands

    1. VR1-VPC command line for quagga
      1. Config file for ospfv2: /etc/quagga/ospfd.conf

        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

      2. Config file for ospfv3: /etc/quagga/ospf6d.conf

        interface eth0
            ipv6 ospf6 instance-id 0
        !
        router ospf6
            router-id 200.0.0.11
            redistribute connected
            interface eth0 area 0.0.0.0

    2. VR2-VPC command line for quagga
      1. Config file for ospfv2: /etc/quagga/ospfd.conf

        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

      2. Config file for ospfv3: /etc/quagga/ospf6d.conf

        interface eth0
            ipv6 ospf6 instance-id 0
        !
        router ospf6
            router-id 200.0.0.12
            redistribute connected
            interface eth0 area 0.0.0.0