Skip to content

Commit 368193c

Browse files
feat: add subnet address space to mtpnc status (#2825)
* feat: add subnet address space to mtpnc status * ref: regenerate multitenancy crds --------- Co-authored-by: Kshitija Murudi <[email protected]>
1 parent ab5990c commit 368193c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ type InterfaceInfo struct {
5858
// GatewayIP is the gateway ip of the injected subnet
5959
// +kubebuilder:validation:Optional
6060
GatewayIP string `json:"gatewayIP,omitempty"`
61+
// SubnetAddressSpace is the subnet address space of the injected subnet
62+
// +kubebuilder:validation:Optional
63+
SubnetAddressSpace string `json:"subnetAddressSpace,omitempty"`
6164
// DeviceType is the device type that this NC was created for
6265
DeviceType DeviceType `json:"deviceType,omitempty"`
6366
// AccelnetEnabled determines if the CNI will provision the NIC with accelerated networking enabled

crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ spec:
9999
primaryIP:
100100
description: PrimaryIP is the ip allocated to the network container
101101
type: string
102+
subnetAddressSpace:
103+
description: SubnetAddressSpace is the subnet address space
104+
of the injected subnet
105+
type: string
102106
type: object
103107
type: array
104108
macAddress:

0 commit comments

Comments
 (0)