Capturing packets in a virtual switch
AssigneeNicira, Inc.
InventorHarold Vinson C. Lim
Life of this patent
Estimating the term…
Abstract
Described herein are systems, methods, and software to capture packets of interest in a virtual switch. In one implementation, a method of capturing packets of interest in a virtual switch includes identifying a request to capture packets associated with first packet attributes. The method further includes, in response to the request, assigning a virtual port for forwarding the packets associated with the first packet attributes, and implementing a forwarding rule in the virtual switch to forward the packets associated with the first packet attributes to at least the virtual port. The method further provides for directing traffic over the virtual switch using the forwarding rule.
Claims20
A method of capturing packets of interest in a virtual switch, the method comprising:
- identifying a request to capture packets associated with first packet attributes;
- assigning one or more virtual ports of the virtual switch to capture the packets associated with the first packet attributes, wherein packets received by at least one virtual port of the one or more virtual ports are stored in a log file linked to the virtual port;
- in response to the request to capture packets associated with the first packet attributes, implementing a forwarding rule in the virtual switch to forward the packets associated with the first packet attributes to at least the one or more virtual ports, wherein the forwarding rule is allocated a higher priority value than one or more other forwarding rules associated with the first packet attributes;
- receiving a packet at the virtual switch;
- determining whether the packet qualifies to be forwarded to the one or more virtual ports based on the forwarding rule;
- and
- if the packet qualifies to be forwarded to the one or more virtual ports, forwarding the packet to at least the one or more virtual ports.
A computer apparatus comprising:
- one or more computer readable storage media;
- processing circuitry operatively coupled with the one or more computer readable storage media;
- and
- program instructions stored on the one or more computer readable storage media to capture packets of interest in a virtual switch that, when read and executed by the processing circuitry, direct the processing circuitry to at least:
- identify a request to capture packets associated with first packet attributes;
- assign one or more virtual ports of the virtual switch to capture the packets associated with the first packet attributes, wherein packets received by at least one virtual port of the one or more virtual ports are stored in a log file linked to the virtual port;
- in response to the request to capture packets associated with the first packet attributes, implement a forwarding rule in the virtual switch to forward the packets associated with the first packet attributes to at least the one or more virtual ports, wherein the forwarding rule is allocated a higher priority value than one or more other forwarding rules associated with the first packet attributes;
- receive a packet at the virtual switch;
- determine whether the packet qualifies to be forwarded to the one or more virtual ports based on the forwarding rule;
- and
- if the packet qualifies to be forwarded to the one or more virtual ports, forward the packet to at least the one or more virtual ports.
An apparatus comprising:
- one or more computer readable storage media;
- program instructions stored on the one or more computer readable storage media to capture packets of interest in a virtual switch that, when read and executed by processing circuitry, direct the processing circuitry to at least:
- identify a request to capture packets associated with first packet attributes;
- assign one or more virtual ports of the virtual switch to capture the packets associated with the first packet attributes, wherein packets received by at least one virtual port of the one or more virtual ports are stored in a log file linked to the virtual port;
- in response to the request to capture packets associated with the first packet attributes, implement a forwarding rule in the virtual switch to forward the packets associated with the first packet attributes to at least the one or more virtual ports, wherein the forwarding rule is allocated a higher priority value than one or more other forwarding rules associated with the first packet attributes;
- receive a packet at the virtual switch;
- determine whether the packet qualifies to be forwarded to the one or more virtual ports based on the forwarding rule;
- and
- if the packet qualifies to be forwarded to the one or more virtual ports, forward the packet to at least the one or more virtual ports.
Dependencies are inferred from the claim text.