Patent ID: 8423632
Filing Date: 2013-04-16
Classification: G06F,H04L

Abstract:
1. A method for configuring a network policy for a virtual port, comprising: obtaining a physical network policy group and a media access control (MAC) address of a virtual port; wherein the virtual port is an interface between a virtual switch and a virtual machine for connecting the virtual switch and the virtual machine; the physical network policy group is a group of network policy configuration information that a physical switch uses for the virtual port; associating the physical network policy group and the MAC address of the virtual port to form a virtual port policy association table; and receiving, from a physical switch, a request for obtaining the network policy, wherein the request carries the MAC address of the virtual port; selecting the physical network policy group corresponding to the MAC address carried by the request from the virtual port policy association table, and delivering the physical network policy group to the physical switch sending the request, so that the physical switch sending the request configures, according to the delivered physical network policy group, the network policy for the virtual port corresponding to the MAC address carried by the request.