-
Notifications
You must be signed in to change notification settings - Fork 260
[CNI] Update CNI to pass IP address on delete #875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1cfa5ba to
a5cc182
Compare
rbtr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment and a question otherwise lgtm
cns/cnsclient/cnsclient.go
Outdated
| // ReleaseIPAddress calls releaseIPAddress on CNS | ||
| func (cnsClient *CNSClient) ReleaseIPAddress(orchestratorContext []byte) error { | ||
| // ReleaseIPAddress calls releaseIPAddress on CNS, ipaddress ex: (10.0.0.1) | ||
| func (cnsClient *CNSClient) ReleaseIPAddress(ipaddress string, orchestratorContext []byte) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be better to pass these around as net.IP and then string them just in time for use? we could error on parsing at ingest instead of at use if something weird comes in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved it a little bit forward to directly populate the request object to send to the client
eda8be5 to
7ed04d6
Compare
7ed04d6 to
901e839
Compare
Reason for Change:
New CNI log line:
New CNS log line:
Issue Fixed:
#885
Requirements:
Notes: