Skip to content

Conversation

@thatmattlong
Copy link
Collaborator

Reason for Change:

Pass the vlan ID and encapsulation type to the CNS createNCRequest for multitenant CRD mode

Requirements:

// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
// Important: Run "make" to regenerate code after modifying this file

//MultiTenantInfo holds the encap type and id for the NC
Copy link
Member

Choose a reason for hiding this comment

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

could you fix the lint failures?

PrimaryInterfaceIdentifier: nc.Status.PrimaryInterfaceIdentifier,
MultiTenancyInfo: cns.MultiTenancyInfo{
EncapType: nc.Status.MultiTenantInfo.EncapType,
ID: int(nc.Status.MultiTenantInfo.ID),
Copy link
Member

Choose a reason for hiding this comment

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

since MultiTenantInfo.ID is required for CNS, could we check its value in L109 and report an error if it is not set?

@feiskyer feiskyer merged commit 8ce6126 into Azure:master Aug 5, 2021
@rbtr
Copy link
Collaborator

rbtr commented Aug 6, 2021

@feiskyer this has a legitimately broken test, please don't merge with failing checks

@rbtr rbtr mentioned this pull request Aug 6, 2021
3 tasks
@thatmattlong
Copy link
Collaborator Author

My fault, I said I had fixed the issues but didn't see this failing test, here is the PR to fix: #963

@thatmattlong thatmattlong deleted the matlong/multitenant-crd-encap branch August 6, 2021 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants