Open vSwitch

Open vSwitch (OVS) is an open source controller that provisions virtual switches.  collects interface data from Open vSwitch. 
cavna36
Open vSwitch (OVS) is an open source controller that provisions virtual switches. 
Virtual Network Assurance
collects interface data from Open vSwitch. 
This documentation applies to 1.0.2 version of the OVS plug-in.
This plug-in collects inventory for the following items:
  • VSwitch
  • Interface
This plug-in collects the following metrics for virtual interfaces:
  • Incoming Bytes
  • Outgoing Bytes
  • Incoming Packets
  • Outgoing Packets
  • Collisions
  • Incoming CRC Errors
  • Incoming Frame Errors
  • Incoming RX Overruns
  • Incoming Dropped Packets
  • Outgoing Dropped Packets
  • Incoming Errors
  • Outgoing Errors
  • Interface Speed
The plug-in collects the following metrics for the vSwitch entity:
  • Virtual memory that the OVS processes use
  • Resident memory that the OVS processes use
  • Total memory of the system where the OVS is running
  • Total CPU time that the OVS processes use
Supported Release
Virtual Network Assurance
supports the following releases of Open vSwitch:
  • 2.8.2
Requirements
  • Add a remote to enable external connections on the OVS host. Run the following command on each compute node that
    Virtual Network Assurance
    monitors:
    ovs-appctl -t ovsdb-server ovsdb-server/add-remote ptcp:6640
  • Configure the OVS host to provide more performance information. Run the following command on the OVS host:
    ovsdb-client transact '["Open_vSwitch",{"op": "update","row": {"other_config": ["map",[["enable-statistics","true"]] ]},"where": [],"table": "Open_vSwitch"}]'
Plug-in Configuration Example
The following JSON example shows the Open vSwitch plug-in configuration:
{
"PLUGIN_CONFIG": {
     "OVS_HOST_IPS": [
     "192.168.1.1"
     ],
     "OVS_PORT": 6640,
     "PROTOCOL": "http",
     "INVENTORY_POLL_RATE": "0 */5 *",
     "INVENTORY_DELTA_TIME": 300,
     "AVAILABILITY_POLL_RATE": "0 */5 *",
     "AVAILABILITY_DELTA_TIME": 300,
     "DOMAIN_ID": 0
     }
}
  • OVS_HOST_IPS
    The IP addresses of the OVSDB servers
  • OVS_PORT
    The remote port that the OVSDB servers listen on
  • PROTOCOL
    The communication protocol with the OVSDB server
    Values:
     http or https (case-sensitive)
  • INVENTROY_POLL_RATE
    How often the product collects inventory data in cron syntax
  • INVENTORY_DELTA_TIME
    The number of seconds in the inventory poll interval
    This value is used for metric calculations.
  • AVAILABILITY_POLL_RATE
    How often the product polls the availability of the controller/orechestrator
  • AVAILABILITY_DELTA_TIME
    The number of seconds in the availability poll interval
    This value is used for metric calculations.
  • DOMAIN_ID
    Virtual Network Assurance
    assigns inventory from this plug-in to the specified domain.