j.ssh.ubuntu.NetworkManager
- /opt/jumpscale7/lib/JumpScale/lib/ssh/ubuntu/manager.py
Methods
def commit
arguments
def ipGet
arguments
Get IP of devie
Result (ip, netmask, gateway)
def ipReset
arguments
def ipSet
arguments
- device
- ip
- netmask
- gw
- inet = 'dhcp'
- commit = False
Return all interfaces that has this ifname
def nsGet
arguments
def nsSet
arguments
- nameservers = []
- commit = False
def setHostname
arguments