Patent ID: 9565104
Date: 2017-02-07
CPC Classifications: H04L

Claim:
1. A switch controller connected to a computer hosting a virtual machine (VM) and a virtual switch to provide packet forwarding for the VM, the switch controller comprising: a memory to store assignments of ports in the virtual switch to a primary virtual local area network (VLAN), a secondary VLAN and a virtual distributed switch (VDS) and to store rules; and at least one processor to restrict packet forwarding actions on the ports according to at least one of the assigned primary VLAN, the assigned secondary VLAN, and the assigned VDS to the ports and the stored rules, wherein to restrict the packet forwarding actions, the at least one processor is to generate flow table entries for a flow table for the virtual switch based on the rules and the assignments of the ports, and send the flow table entries to the virtual switch, and wherein to generate the flow table entries, the at least one processor is to: