vswitch: Add port status column to Port table
authorJustin Pettit <jpettit@nicira.com>
Wed, 4 Aug 2010 05:21:43 +0000 (22:21 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 25 Aug 2010 22:49:18 +0000 (15:49 -0700)
Add "status" map to provide optional status of ports to Port table.

vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml

index 7f5863f..c8a4963 100644 (file)
        "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"}}}},
index 32d1ee4..5789964 100644 (file)
         Configuration options whose interpretation varies based on
         <ref column="type"/>.
       </column>
+
+      <column name="status">
+        <p>
+          Key-value pairs that report port status.  Supported status
+          values are <code>type</code>-dependent.
+        </p>
+        <p>The only currently defined key-value pair is:</p>
+        <dl>
+          <dt><code>source_ip</code></dt>
+          <dd>The source IP address used for an IPv4 tunnel end-point,
+            such as <code>gre</code> or <code>capwap</code>.  Not
+            supported by all implementations.</dd>
+        </dl>
+      </column>
     </group>
 
     <group title="Ingress Policing">