Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Reading and setting if MAC address is present in the CNI args #3

Merged
merged 2 commits into from Jan 13, 2017
Merged

Reading and setting if MAC address is present in the CNI args #3

merged 2 commits into from Jan 13, 2017

Conversation

leodotcloud
Copy link
Contributor

@leodotcloud leodotcloud commented Jan 12, 2017

}
logrus.Debugf("have set the %v interface %v MAC address: %v", args.ContainerID, args.IfName, nArgs.MACAddress)
} else {
logrus.Warnf("no MAC address specified to set for container: %v", args.ContainerID)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you warn?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to capture this event if at all it happens out in the field.

@ibuildthecloud ibuildthecloud merged commit e732b2e into rancher:master Jan 13, 2017
@leodotcloud leodotcloud deleted the mac branch January 13, 2017 21:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants