updates to grpc add_link to return created interface data
This commit is contained in:
parent
0d3460e2ec
commit
71aeb98bb9
7 changed files with 77 additions and 19 deletions
|
@ -738,6 +738,9 @@ class CoreNode(CoreNodeBase):
|
|||
flow_id = self.node_net_client.get_ifindex(veth.name)
|
||||
veth.flow_id = int(flow_id)
|
||||
logging.debug("interface flow index: %s - %s", veth.name, veth.flow_id)
|
||||
hwaddr = self.node_net_client.get_mac(veth.name)
|
||||
logging.debug("interface mac: %s - %s", veth.name, hwaddr)
|
||||
veth.sethwaddr(hwaddr)
|
||||
|
||||
try:
|
||||
# add network interface to the node. If unsuccessful, destroy the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue