User Tools

Site Tools


docs:guide-developer:network

ubus network

* netifd provides network

Design of netifd

Path Procedure Signature Description
network restart { } Restart the network, reconfigures all interfaces
network reload { } Reload the network, reconfigure as needed
network.device status { “name”: “ifname” } Dump status of given network device ifname
network.device set_state { “name”: “ifname”, “defer”: deferred } Defer or ready the given network device ifname, depending on the boolean value deferred
network.interface.name up { } Bring interface name up
network.interface.name down { } Bring interface name down
network.interface.name status { } Dump status of interface name
network.interface.name prepare { } Prepare setup of interface name
network.interface.name add_device { “name”: “ifname” } Add network device ifname to interface name (e.g. for bridges: brctl addif br-name ifname)
network.interface.name remove_device { “name”: “ifname” } Remove network device ifname from interface name (e.g. for bridges: brctl delif br-name ifname)
network.interface.name remove { } Remove interface name (?)
docs/guide-developer/network.txt · Last modified: 2018/02/17 17:14 by bobafetthotmail