diff --git a/manifests/crds/network.harvesterhci.io_vlanstatuses.yaml b/manifests/crds/network.harvesterhci.io_vlanstatuses.yaml index e05c612a..7fec8b4e 100644 --- a/manifests/crds/network.harvesterhci.io_vlanstatuses.yaml +++ b/manifests/crds/network.harvesterhci.io_vlanstatuses.yaml @@ -95,18 +95,29 @@ spec: type: boolean state: type: string + string: + type: string type: type: string + required: + - string + type: object + type: array + localAreas: + items: + properties: + cidr: + type: string + vlanID: + type: integer + required: + - vlanID type: object type: array node: type: string vlanConfig: type: string - vlanIds: - items: - type: integer - type: array required: - clusterNetwork - node diff --git a/pkg/apis/network.harvesterhci.io/v1beta1/zz_generated_deepcopy.go b/pkg/apis/network.harvesterhci.io/v1beta1/zz_generated_deepcopy.go index a27ac729..067d28c8 100644 --- a/pkg/apis/network.harvesterhci.io/v1beta1/zz_generated_deepcopy.go +++ b/pkg/apis/network.harvesterhci.io/v1beta1/zz_generated_deepcopy.go @@ -155,6 +155,22 @@ func (in *LinkStatus) DeepCopy() *LinkStatus { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *LocalArea) DeepCopyInto(out *LocalArea) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalArea. +func (in *LocalArea) DeepCopy() *LocalArea { + if in == nil { + return nil + } + out := new(LocalArea) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Uplink) DeepCopyInto(out *Uplink) { *out = *in @@ -189,9 +205,9 @@ func (in *Uplink) DeepCopy() *Uplink { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *VlStatus) DeepCopyInto(out *VlStatus) { *out = *in - if in.VLANIDs != nil { - in, out := &in.VLANIDs, &out.VLANIDs - *out = make([]uint16, len(*in)) + if in.LocalAreas != nil { + in, out := &in.LocalAreas, &out.LocalAreas + *out = make([]LocalArea, len(*in)) copy(*out, *in) } if in.LinkStatus != nil {