mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 18:07:40 +00:00
Deprecate referring to ports by name in ovs-ofctl.
This is a necessary step toward supporting full 32-bit OF1.1+ port numbers in a later version of OVS. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
parent
d55b18c8fa
commit
fd38af85a5
13
NEWS
13
NEWS
@ -28,12 +28,13 @@ post-v1.8.0
|
|||||||
program was not included in distribution packaging.)
|
program was not included in distribution packaging.)
|
||||||
- ovsdb-server now enforces the immutability of immutable columns. This
|
- ovsdb-server now enforces the immutability of immutable columns. This
|
||||||
was not enforced in earlier versions due to an oversight.
|
was not enforced in earlier versions due to an oversight.
|
||||||
- Stable bond mode is deprecated and will be removed no earlier than
|
- The following features are now deprecated. They will be removed no
|
||||||
February 2013. Please email dev@openvswitch.org with concerns.
|
earlier than February 2013. Please email dev@openvswitch.org with
|
||||||
- The autopath action is deprecated and will be removed no earlier than
|
concerns.
|
||||||
February 2013. Please email dev@openvswitch.org with concerns.
|
- Stable bond mode.
|
||||||
- The null interface type is deprecated and will be removed no earlier
|
- The autopath action.
|
||||||
than February 2013. Please email dev@openvswitch.org with concerns.
|
- Interface type "null".
|
||||||
|
- Numeric values for reserved ports (see "ovs-ofctl" note above).
|
||||||
|
|
||||||
|
|
||||||
v1.8.0 - xx xxx xxxx
|
v1.8.0 - xx xxx xxxx
|
||||||
|
@ -3569,9 +3569,9 @@ ofputil_port_from_string(const char *s)
|
|||||||
|
|
||||||
ds_init(&s);
|
ds_init(&s);
|
||||||
ofputil_format_port(port32, &s);
|
ofputil_format_port(port32, &s);
|
||||||
VLOG_WARN("port %u is better referred to as %s, for compatibility "
|
VLOG_WARN_ONCE("referring to port %s as %u is deprecated for "
|
||||||
"with future versions of OpenFlow",
|
"compatibility with future versions of OpenFlow",
|
||||||
port32, ds_cstr(&s));
|
ds_cstr(&s), port32);
|
||||||
ds_destroy(&s);
|
ds_destroy(&s);
|
||||||
|
|
||||||
return port32;
|
return port32;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user