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 7f5863fa762af1ef2f08e8107aa92024b91e8af4..c8a4963af51c089efe3cd77d289321b036552850 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 32d1ee4149ddb6f950fb2ad915c5dd2e90deb630..5789964a8da758787ac90d8f014222bee44302f7 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">