Skip to content

Commit 14c07bf

Browse files
ecigar13keithnguyen
authored andcommitted
[PONv6] Add 3 new fields to NC. (#3499)
* feat: added 3 new fields on NC. Generated all CRD. * Revert version --------- Co-authored-by: keithnguyen <[email protected]>
1 parent 8a00b55 commit 14c07bf

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,12 @@ type NetworkContainer struct {
119119
// +kubebuilder:default=vnet
120120
Type NCType `json:"type,omitempty"`
121121
PrimaryIP string `json:"primaryIP,omitempty"`
122+
PrimaryIPV6 string `json:"primaryIPV6,omitempty"`
122123
SubnetName string `json:"subnetName,omitempty"`
123124
IPAssignments []IPAssignment `json:"ipAssignments,omitempty"`
124125
DefaultGateway string `json:"defaultGateway,omitempty"`
126+
DefaultGatewayV6 string `json:"defaultGatewayV6,omitempty"`
127+
MacAddress string `json:"macAddress,omitempty"`
125128
SubnetAddressSpace string `json:"subnetAddressSpace,omitempty"`
126129
// +kubebuilder:default=0
127130
// +kubebuilder:validation:Optional

crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ spec:
109109
type: string
110110
defaultGateway:
111111
type: string
112+
defaultGatewayV6:
113+
type: string
112114
id:
113115
type: string
114116
ipAssignments:
@@ -122,10 +124,14 @@ spec:
122124
type: string
123125
type: object
124126
type: array
127+
macAddress:
128+
type: string
125129
nodeIP:
126130
type: string
127131
primaryIP:
128132
type: string
133+
primaryIPV6:
134+
type: string
129135
resourceGroupID:
130136
type: string
131137
status:

0 commit comments

Comments
 (0)