主权项 |
1. A method for verifying identity of a virtual machine (VM), the method comprising:
receiving, at a switch associated with a VM group, an initial message from a first VM of the VM group through a port, the first VM managed by a first hypervisor; the switch determining, based on configuration information associated with the switch, that the port is not a trusted port, the configuration information indicating that the first hypervisor is not connected to the switch through the port; in response to said determining that the port is not a trusted port, the switch:
retrieving attribute data relating to the initial message from a database;determining, based on the attribute data, that the port the initial message arrived through is a trusted port;querying the attribute data; andascertaining whether the first VM is valid, wherein said ascertaining is affirmative if the attribute data matches with at least one attribute included in the initial message, and wherein said ascertaining is negative if the attribute data does not match with at least one attribute included in the initial message, the attribute data including at least one of a first VM media access control (MAC) Address, a VM universally unique identifier (UUID), a switch port address or a switch ID. |