...
- scope of this proposal is restricted to achieving distributed routing and network acl's with OpenVswitch in VPC
- scope of this proposal is restricted to OpenVswtich integration on XenServer/KVM
...
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
- OvsCreateFlowCommand
- OvsDeleteFlowCommand
...