updates to netclient, providing commonly used network commands in more convenient functions
This commit is contained in:
parent
a798774f18
commit
e4bb315c14
6 changed files with 203 additions and 324 deletions
|
@ -629,9 +629,7 @@ class CoreNetwork(CoreNetworkBase):
|
|||
return
|
||||
|
||||
for addr in addrlist:
|
||||
utils.check_cmd(
|
||||
[constants.IP_BIN, "addr", "add", str(addr), "dev", self.brname]
|
||||
)
|
||||
self.net_client.create_address(self.brname, str(addr))
|
||||
|
||||
|
||||
class GreTapBridge(CoreNetwork):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue