From: Justin Pettit Date: Wed, 4 Aug 2010 05:21:43 +0000 (-0700) Subject: vswitch: Add port status column to Port table X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=573c1db99dbfd655d20e0fdf27ff4d460d6529c1;p=openvswitch vswitch: Add port status column to Port table Add "status" map to provide optional status of ports to Port table. --- diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 7f5863fa..c8a4963a 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -137,6 +137,9 @@ "statistics": { "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"}, "ephemeral": true}, + "status": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}}, diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 32d1ee41..5789964a 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -609,6 +609,20 @@ Configuration options whose interpretation varies based on . + + +

+ Key-value pairs that report port status. Supported status + values are type-dependent. +

+

The only currently defined key-value pair is:

+
+
source_ip
+
The source IP address used for an IPv4 tunnel end-point, + such as gre or capwap. Not + supported by all implementations.
+
+