You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use containernetworking/plugins v1.1.1 SetUpVethWithName returns one veth interface with down.
Therefore, I have to set up the link after I get it.
For example, SetUpVethWithName returns contVeth with down when calling like below. hostVeth, contVeth, err := ip.SetUpVethWithName( ... )
In PR #687, I found that the code to set up the veth is deleted.
@terassyi yes, that must now be done by caller code. This was done to ensure that any required IP addressing is done before the interface is brought up, since when it's up it will begin responding to ARP requests, and may send a gratuitous ARP to announce its IP/MAC mapping. But if the IP address is assigned later, after it's UP, it won't do that.
When I use
containernetworking/plugins
v1.1.1SetUpVethWithName
returns one veth interface with down.Therefore, I have to set up the link after I get it.
For example,
SetUpVethWithName
returnscontVeth
with down when calling like below.hostVeth, contVeth, err := ip.SetUpVethWithName( ... )
In PR #687, I found that the code to set up the veth is deleted.
https://github.com/containernetworking/plugins/pull/687/files#diff-a3e0f4cdf9821c455178c4ea6aeba5f7a8faf8121022a740dd65b32bace17fac
Is this an intended behavior?
Thank you in advance.
The text was updated successfully, but these errors were encountered: