Skip to content

Commit

Permalink
feat: add subnet address space to mtpnc status (#2825)
Browse files Browse the repository at this point in the history
* feat: add subnet address space to mtpnc status

* ref: regenerate multitenancy crds

---------

Co-authored-by: Kshitija Murudi <kmurudi@microsoft.com>
  • Loading branch information
sharifnasser and kmurudi authored Jul 3, 2024
1 parent ab5990c commit 368193c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ type InterfaceInfo struct {
// GatewayIP is the gateway ip of the injected subnet
// +kubebuilder:validation:Optional
GatewayIP string `json:"gatewayIP,omitempty"`
// SubnetAddressSpace is the subnet address space of the injected subnet
// +kubebuilder:validation:Optional
SubnetAddressSpace string `json:"subnetAddressSpace,omitempty"`
// DeviceType is the device type that this NC was created for
DeviceType DeviceType `json:"deviceType,omitempty"`
// AccelnetEnabled determines if the CNI will provision the NIC with accelerated networking enabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ spec:
primaryIP:
description: PrimaryIP is the ip allocated to the network container
type: string
subnetAddressSpace:
description: SubnetAddressSpace is the subnet address space
of the injected subnet
type: string
type: object
type: array
macAddress:
Expand Down

0 comments on commit 368193c

Please sign in to comment.