# US 2022/0283844 A1 · Apparatus and method for port mapping of virtual machines in cloud infrastructure

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283844 A1
- Document ID: US20220283844A1
- Status: Published application
- Kind: A1
- Application number: 17/457,968
- Filed: 2021-12-07
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: Rakuten Mobile, Inc.
- Applicants: Rakuten Mobile, Inc.
- Inventors: Sagiv DRAZNIN; Petrit NAHI; Sharad SRIWASTAWA
- Web page: https://patentgrep.com/patent/US20220283844A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 41/122: of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 43/0823: Errors, e.g. transmission errors
- H04L 43/20: the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and apparatus for mapping a virtual machine in a cloud infrastructure to a network port. The method includes: obtaining, by a smart monitoring device distinct from the virtual machine and a network appliance, a first location of the virtual machine in the cloud infrastructure; mapping, by the smart monitoring device, the first location of the virtual machine to a first source port in the network appliance and a first destination port in the network appliance; based on a determination that the virtual machine is not at the first location, obtaining, by the smart monitoring device, a second location of the virtual machine in the cloud infrastructure; and based on the determination that the virtual machine is not at the first location, mapping, by the smart monitoring device, the second location of the virtual machine to a second source port in the network appliance and a second destination port in the network appliance.

## Claims

### Claim 1

A method of mapping a virtual machine in a cloud infrastructure to a network port, the method comprising:
obtaining, by a smart monitoring device distinct from the virtual machine and a network appliance, a first location of the virtual machine in the cloud infrastructure;
mapping, by the smart monitoring device, the first location of the virtual machine to a first source port in the network appliance and a first destination port in the network appliance;
based on a determination that the virtual machine is not at the first location, obtaining, by the smart monitoring device, a second location of the virtual machine in the cloud infrastructure; and
based on the determination that the virtual machine is not at the first location, mapping, by the smart monitoring device, the second location of the virtual machine to a second source port in the network appliance and a second destination port in the network appliance.

### Claim 2 (depends on 1)

The method of claim 1, wherein the network appliance is an Application Centric Infrastructure (ACI) Fabric, and the first destination port and the second destination port are Switch Port Analyzer (SPAN) ports.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining, by the smart monitoring device, that the virtual machine is at the first location based on a communication received from the virtual machine; and
determining, by the smart monitoring device, that the virtual machine is not at the first location based on the communication not being received from the virtual machine.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
transmitting, by the smart monitoring device, a first communication to the virtual machine,
wherein the determining that the virtual machine is at the first location comprises determining, by the smart monitoring device, that the virtual machine is at the first location based on a second communication received from the virtual machine in response to the first communication, and
wherein the determining that the virtual machine is not at the first location comprises determining, by the smart monitoring device, that the virtual machine is not at the first location based on no communication being received from the virtual machine in response to the first communication.

### Claim 5 (depends on 4)

The method of claim 4, wherein the determining that the virtual machine is not at the first location based on no communication being received comprises determining, by the smart monitoring device, that the virtual machine is not at the first location based on no communication being received from the virtual machine in response to the first communication within a predetermined period of time.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the smart monitoring device includes a database to store the mapping between the first location of the virtual machine, the first source port, and the first destination port, and to store the mapping between the second location of the virtual machine, the second source port, and the second destination port.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the mapping the second location of the virtual machine to the second source port and the second destination port comprises:
based on the determination that the virtual machine is not at the first location, automatically transmitting, by the smart monitoring device to the network appliance, a message; and
receiving, from the network appliance in response to the transmitted message, information on the second destination port in the network appliance.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the message is a request to allocate a new destination port to the virtual machine located at the second location.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first location comprises identification information of a first host in the cloud infrastructure, and the second location comprises identification information of a second host in the cloud infrastructure.

### Claim 10

An apparatus for mapping a virtual machine in a cloud infrastructure to a network port, the apparatus comprising:
a communication interface;
a memory; and
a processor configured to execute instructions to:
obtain a first location of the virtual machine in the cloud infrastructure;
store, in the memory, a mapping of the first location of the virtual machine to a first source port in a network appliance and a first destination port in the network appliance;
based on a determination that the virtual machine is not at the first location, obtain a second location of the virtual machine in the cloud infrastructure; and
based on the determination that the virtual machine is not at the first location, map the second location of the virtual machine to a second source port in the network appliance and a second destination port in the network appliance.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the network appliance is an Application Centric Infrastructure (ACI) Fabric, and the first destination port and the second destination port are Switch Port Analyzer (SPAN) ports.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to execute the instructions to:
determine that the virtual machine is at the first location based on a communication received from the virtual machine; and
determine that the virtual machine is not at the first location based on the communication not being received from the virtual machine.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the processor is further configured to execute the instructions:
control to transmit, via the communication interface, a first communication to the virtual machine;
determine that the virtual machine is at the first location based on a second communication received from the virtual machine in response to the first communication; and
determine that the virtual machine is not at the first location based on no communication being received from the virtual machine in response to the first communication.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the processor is further configured to execute the instructions to determine that the virtual machine is not at the first location based on no communication being received from the virtual machine in response to the first communication within a predetermined period of time.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the memory stores a database to store the mapping between the first location of the virtual machine, the first source port, and the first destination port, and to store the mapping between the second location of the virtual machine, the second source port, and the second destination port.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein the processor is further configured to execute the instructions:
based on the determination that the virtual machine is not at the first location, automatically transmit, to the network appliance via the communication interface, a message; and
receive, from the network appliance in response to the transmitted message, information on the second destination port in the network appliance.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the message is a request to allocate a new destination port to the virtual machine located at the second location.

### Claim 18

A non-transitory computer-readable recording medium having recorded thereon instructions executable by at least one processor to perform a method of mapping a virtual machine in a cloud infrastructure to a network port, the method comprising:
obtaining, by a smart monitoring device distinct from the virtual machine and a network appliance, a first location of the virtual machine in the cloud infrastructure;
mapping, by the smart monitoring device, the first location of the virtual machine to a first source port in the network appliance and a first destination port in the network appliance;
based on a determination that the virtual machine is not at the first location, obtaining, by the smart monitoring device, a second location of the virtual machine in the cloud infrastructure; and
based on the determination that the virtual machine is not at the first location, mapping, by the smart monitoring device, the second location of the virtual machine to a second source port in the network appliance and a second destination port in the network appliance.

### Claim 19 (depends on 18)

The non-transitory computer-readable recording medium of claim 18, wherein the network appliance is an Application Centric Infrastructure (ACI) Fabric, and the first destination port and the second destination port are Switch Port Analyzer (SPAN) ports.
