vswitch: Add "external_ids" and "ofport" columns to Interface table.
authorBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 21:03:38 +0000 (13:03 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 8 Dec 2009 21:41:06 +0000 (13:41 -0800)
vswitchd/vswitch-idl.ovsidl

index 2b9971a..631f6b5 100644 (file)
        "mac": {
          "comment": "Ethernet address to set for this interface.  If unset then the default MAC address is used.  May not be supported on all interfaces.  Exactly 12 hex digits in the form XX:XX:XX:XX:XX:XX.",
          "type": {"key": "string", "min": 0, "max": 1}},
-       "id": {
-         "comment": "Foreign key for use by NOX.  (This might end up being absorbed into a more general-purpose \"foreign-keys\" column.)",
-         "type": {"key": "uuid", "min": 0, "max": 1}}}},
+       "external_ids": {
+         "comment": "Key-value pairs that identify this interface's role in external systems.  The only currently defined key is \"xs-vif-uuid\", whose value is the UUID of the Citrix XenServer VIF associated with this interface.",
+         "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
+       "ofport": {
+         "comment": "OpenFlow port number for this interface.  This is populated when the port number becomes known.  Before it is populated its value will be missing.  If the interface cannot be added then this is indicated by a value of -1.",
+         "type": {"key": "integer", "min": 0, "max": 1}}}},
    "Mirror": {
      "comment": "A port mirror within a Bridge.",
      "columns": {