-
Notifications
You must be signed in to change notification settings - Fork 240
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
add a new container type for l1vh singularity container request #2215
Conversation
cns/NetworkContainerContract.go
Outdated
@@ -95,6 +96,8 @@ type CreateNetworkContainerRequest struct { | |||
AllowHostToNCCommunication bool | |||
AllowNCToHostCommunication bool | |||
EndpointPolicies []NetworkContainerRequestPolicies | |||
BackendNetworkInterfaceID string |
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.
can it move inside a structure which contains backendnetwork info?
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.
yes I can add a struct BackendNetworkInfo
with these 2 new fields
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.
added
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.
@tamilmani1989 - should I be reusing the fields added by PR - 3b1c720#diff-cc7993ab0a3ea963068707fda61d4664fbac1ccf3ab3bfaf0949491d90ad7f3fR85 - only thing I'm not sure of is why PodIpInfo is being used instead of adding this to CreateNetworkContainerRequest
, how are these fields sent to CNS by DNC & to be consumed by DNC? I was making this change so DNC can create a NCRequest with these fields to send to CNS..not sure if that part of change has been implemented yet for swiftv2? @rbtr
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.
lgtm but get sign off from one of dnc folks before merging
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.
See comment
c8e1ea5
to
095ff5c
Compare
d7150d5
to
701346a
Compare
38ac09f
to
ce4f8b7
Compare
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.
lgtm
ce4f8b7
to
7b2b839
Compare
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.
lgtm
7b2b839
to
2898688
Compare
2898688
to
ab679f2
Compare
…be used by CNI ADD net-plugin
ab679f2
to
8467aad
Compare
Reason for Change:
design doc - https://microsoft.sharepoint.com/:w:/t/Aznet/EQqTVNaVUBJDsRbhxwlMFP4BPAqGRM_9-RQiOkoMt7FyxA?e=kYTEJZ
Requirements:
Notes: