Versions Compared

Key

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

...

OvsTunnel manager shall be enhanced with following functionalities;

  • keep track of state of the tunnel tunnels for a network between two hosts for a tier in VPC
  • state of logical router on a host for a VPC
  • can function to tell if 'logical router' can be enabled on a host for a VPC
  • enable logical router on a host for VPC
  • disable logical router on a host for VPC
  • back ground thread that periodically performs
    • get the list of VPC's that has distributed routing enabled
      • for each VPC in the list
        • get the list of hosts on which VPC scans
          • check the state of tunnels from the host and toward the host 
          • if the tunnel is not established attempt to establish tunnel
          • if all the tunnels established enable logical router

resource layer commands

Following new resource layer commands shall be introduced.

  • OvsCreateLogicalRouter: command to setup logical router on the hypervisor. shall contain following details details of  subnet of each tier, gre key assigned for the tier and VPC id. following actions shall be performed by resource layer
    • derive logical router name from the vpc id, and create bridge with generated name
    • for each tier
      • from the gre key form the network name and find the network
      • get the bridge of the network, create a patch ports to connect logical router with the bridge
      • add flow on the logical router to send traffic bound to the subnet on the created patch port for the tier
  • OvsDeleteLogicalRouter: command to delete logical router on the hypervisor.shall contain following details details of  subnet of each tier, gre key assigned for the tier and VPC id. following actions shall be performed by resource layer
    • derive logical router name from the vpc id, and find the bridge with generated name. delete the bridge.
    • for each tier
      • from the gre key form the network name and find the network
      • get the bridge of the network, delete patch port
      • delete flow to send traffic bound to the subnet on the patch port for the tier
  • OvsUpdateLogicalRouter
    • add/remove a tier from the logical router
    • enable/disable distributed routing and acl's
  • OvsCreateFlowCommand: adds a flow to bridge
  • OvsDeleteFlowCommand: deletes a flow from the bridge

 

script enhancements

...

Ovstunnel script shall be enhanced with following methods

  • setup_logical_router

...

  • destroy_logical_router

...

  • enable_logical_router

...

  • disable_logical_router

troubleshooting

To aid trouble shoot in case of connectivity or network acl functionality issues when VPC is enabled with distributed router, an admin API shall be introduced in OVS plugin that shall expose below details maintained by OVS topology guru and OVS tunnel manager

...