mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
vswitchd: Remove support for deprecated "null" interfaces.
This interface type was deprecated in 2013, so it is time to remove it. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jjpettit@ovn.org>
This commit is contained in:
parent
f62a20d8c2
commit
ee60eefecb
1
NEWS
1
NEWS
@ -5,6 +5,7 @@ Post-v2.9.0
|
||||
* Previous versions gave OpenFlow tables default names of the form
|
||||
"table#". These are not helpful names for the purpose of accepting
|
||||
and displaying table names, so now tables by default have no names.
|
||||
* The "null" interface type, deprecated since 2013, has been removed.
|
||||
- ovs-ofctl:
|
||||
* ovs-ofctl now accepts and display table names in place of numbers. By
|
||||
default it always accepts names and in interactive use it displays them;
|
||||
|
@ -3448,11 +3448,6 @@ bridge_del_ports(struct bridge *br, const struct shash *wanted_ports)
|
||||
if (iface) {
|
||||
iface->cfg = cfg;
|
||||
iface->type = type;
|
||||
} else if (!strcmp(type, "null")) {
|
||||
VLOG_WARN_ONCE("%s: The null interface type is deprecated and"
|
||||
" may be removed in February 2013. Please email"
|
||||
" dev@openvswitch.org with concerns.",
|
||||
cfg->name);
|
||||
} else {
|
||||
/* We will add new interfaces later. */
|
||||
}
|
||||
@ -4074,11 +4069,7 @@ port_del_ifaces(struct port *port)
|
||||
/* Collect list of new interfaces. */
|
||||
sset_init(&new_ifaces);
|
||||
for (i = 0; i < port->cfg->n_interfaces; i++) {
|
||||
const char *name = port->cfg->interfaces[i]->name;
|
||||
const char *type = port->cfg->interfaces[i]->type;
|
||||
if (strcmp(type, "null")) {
|
||||
sset_add(&new_ifaces, name);
|
||||
}
|
||||
sset_add(&new_ifaces, port->cfg->interfaces[i]->name);
|
||||
}
|
||||
|
||||
/* Get rid of deleted interfaces. */
|
||||
|
@ -2270,10 +2270,6 @@
|
||||
<dd>
|
||||
A pair of virtual devices that act as a patch cable.
|
||||
</dd>
|
||||
|
||||
<dt><code>null</code></dt>
|
||||
<dd>An ignored interface. Deprecated and slated for removal in
|
||||
February 2013.</dd>
|
||||
</dl>
|
||||
</column>
|
||||
</group>
|
||||
|
Loading…
x
Reference in New Issue
Block a user