diff options
| author | Justin Pettit <jpettit@nicira.com> | 2009-11-13 13:21:13 -0800 |
|---|---|---|
| committer | Justin Pettit <jpettit@nicira.com> | 2010-02-20 02:22:27 -0800 |
| commit | b123cc3ce4972378a5e564a89b8945473f561578 (patch) | |
| tree | 3266b0103c38b102d1b6d7c07be24f514460a148 /utilities/ovs-openflowd.c | |
| parent | 246e61ea75df598de1ef11130ca32407196dd736 (diff) | |
| download | openvswitch-b123cc3ce4972378a5e564a89b8945473f561578.tar.gz | |
ofproto: Use 64-bit datapath id and management id (OpenFlow 0.9)
The length of a datapath was changed from 48 bits to 64 bits in OpenFlow
0.9. For parity, we increased the management id size to match.
NOTE: This is the final commit in the OpenFlow 0.9 set. Starting with
this commit, OVS is OpenFlow 0.9-compliant.
Diffstat (limited to 'utilities/ovs-openflowd.c')
| -rw-r--r-- | utilities/ovs-openflowd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/ovs-openflowd.c b/utilities/ovs-openflowd.c index 983481af0..1b8e7ebdf 100644 --- a/utilities/ovs-openflowd.c +++ b/utilities/ovs-openflowd.c @@ -333,7 +333,7 @@ parse_options(int argc, char *argv[], struct ofsettings *s) case OPT_DATAPATH_ID: if (!dpid_from_string(optarg, &s->datapath_id)) { ovs_fatal(0, "argument to --datapath-id must be " - "exactly 12 hex digits and may not be all-zero"); + "exactly 16 hex digits and may not be all-zero"); } break; @@ -521,7 +521,7 @@ usage(void) vconn_usage(true, true, true); printf("\nOpenFlow options:\n" " -d, --datapath-id=ID Use ID as the OpenFlow switch ID\n" - " (ID must consist of 12 hex digits)\n" + " (ID must consist of 16 hex digits)\n" " --manufacturer=MFR Identify manufacturer as MFR\n" " --hardware=HW Identify hardware as HW\n" " --software=SW Identify software as SW\n" |
