From da50fb9cd8c1c1ca157bc8d186bda4ebcc55b298 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 8 Dec 2009 13:03:38 -0800 Subject: [PATCH] vswitch: Add "external_ids" and "ofport" columns to Interface table. --- vswitchd/vswitch-idl.ovsidl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/vswitchd/vswitch-idl.ovsidl b/vswitchd/vswitch-idl.ovsidl index 2b9971a3..631f6b5c 100644 --- a/vswitchd/vswitch-idl.ovsidl +++ b/vswitchd/vswitch-idl.ovsidl @@ -101,9 +101,12 @@ "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": { -- 2.30.2