• Peter V. Saveliev's avatar
    ndb: change View.add() → View.create() · e62589ad
    Peter V. Saveliev authored
    The reason is that `add()` is too confusing when working
    with ports:
    
        #
        # this code creates an interface, not adds
        # an existing one as a port!
        #
        ndb.interfaces['br0'].ports.add(…)
    
        #
        # so now it looks like that:
        #
        ndb.interfaces['br0'].ports.create(…)
        #
        # which is more correct
    e62589ad
Name
Last commit
Last update
..
cli Loading commit data...
generic Loading commit data...
README.md Loading commit data...
create_bond.py Loading commit data...
create_interface.py Loading commit data...
create_vlan.py Loading commit data...
custom_socket_base.py Loading commit data...
devlink_list.py Loading commit data...
devlink_monitor.py Loading commit data...
devlink_port_list.py Loading commit data...
dhclient.py Loading commit data...
ip_monitor.py Loading commit data...
ipdb_autobr.py Loading commit data...
ipdb_chain.py Loading commit data...
ipdb_precb.py Loading commit data...
ipdb_routes.py Loading commit data...
ipq.py Loading commit data...
nl80211_interface_type.py Loading commit data...
nl80211_interfaces.py Loading commit data...
nl80211_monitor.py Loading commit data...
nla_operators.py Loading commit data...
pmonitor.py Loading commit data...
taskstats.py Loading commit data...