From 82b9a2ee7b1b8d42aca8802c70803c1330d1b616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20K=C3=A4stner?= Date: Thu, 15 Oct 2026 11:17:00 +0200 Subject: [PATCH] Add short names for NX provider configs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Felix Kästner --- api/cisco/nx/v1alpha1/aaaconfig_types.go | 2 +- api/cisco/nx/v1alpha1/bgpconfig_types.go | 2 +- api/cisco/nx/v1alpha1/ethernetsegmentconfig_types.go | 2 +- api/cisco/nx/v1alpha1/evpninstanceconfig_types.go | 2 +- api/cisco/nx/v1alpha1/interfaceconfig_types.go | 2 +- api/cisco/nx/v1alpha1/lldpconfig_types.go | 2 +- api/cisco/nx/v1alpha1/managementaccessconfig_types.go | 2 +- api/cisco/nx/v1alpha1/nveconfig_types.go | 2 +- api/cisco/nx/v1alpha1/pimconfig_types.go | 2 +- .../crd/aaaconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 1 + .../crd/bgpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 1 + ...tsegmentconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 1 + ...instanceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 3 +++ ...nterfaceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 1 + .../lldpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 1 + ...ntaccessconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 2 ++ ...tionedgeconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 3 +++ .../crd/pimconfigs.nx.cisco.networking.metal.ironcore.dev.yaml | 1 + .../nx.cisco.networking.metal.ironcore.dev_aaaconfigs.yaml | 1 + .../nx.cisco.networking.metal.ironcore.dev_bgpconfigs.yaml | 1 + ...o.networking.metal.ironcore.dev_ethernetsegmentconfigs.yaml | 1 + ...isco.networking.metal.ironcore.dev_evpninstanceconfigs.yaml | 3 +++ ...x.cisco.networking.metal.ironcore.dev_interfaceconfigs.yaml | 1 + .../nx.cisco.networking.metal.ironcore.dev_lldpconfigs.yaml | 1 + ....networking.metal.ironcore.dev_managementaccessconfigs.yaml | 2 ++ ...ng.metal.ironcore.dev_networkvirtualizationedgeconfigs.yaml | 3 +++ .../nx.cisco.networking.metal.ironcore.dev_pimconfigs.yaml | 1 + 27 files changed, 37 insertions(+), 9 deletions(-) diff --git a/api/cisco/nx/v1alpha1/aaaconfig_types.go b/api/cisco/nx/v1alpha1/aaaconfig_types.go index daa53e3ec..3eb0ccb90 100644 --- a/api/cisco/nx/v1alpha1/aaaconfig_types.go +++ b/api/cisco/nx/v1alpha1/aaaconfig_types.go @@ -70,7 +70,7 @@ type AAAMethodList struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=aaaconfigs // +kubebuilder:resource:singular=aaaconfig -// +kubebuilder:resource:shortName=nxaaa +// +kubebuilder:resource:shortName=aaacfg;nxaaa // AAAConfig is the Schema for the aaaconfigs API type AAAConfig struct { diff --git a/api/cisco/nx/v1alpha1/bgpconfig_types.go b/api/cisco/nx/v1alpha1/bgpconfig_types.go index 8d69988a6..181d0b56a 100644 --- a/api/cisco/nx/v1alpha1/bgpconfig_types.go +++ b/api/cisco/nx/v1alpha1/bgpconfig_types.go @@ -81,7 +81,7 @@ type BGPConfigUnicastAddressFamily struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=bgpconfigs // +kubebuilder:resource:singular=bgpconfig -// +kubebuilder:resource:shortName=nxbgp +// +kubebuilder:resource:shortName=bgpcfg;nxbgp // BGPConfig is the Schema for the bgpconfigs API type BGPConfig struct { diff --git a/api/cisco/nx/v1alpha1/ethernetsegmentconfig_types.go b/api/cisco/nx/v1alpha1/ethernetsegmentconfig_types.go index 917f42e71..0df890b21 100644 --- a/api/cisco/nx/v1alpha1/ethernetsegmentconfig_types.go +++ b/api/cisco/nx/v1alpha1/ethernetsegmentconfig_types.go @@ -25,7 +25,7 @@ type EthernetSegmentConfigSpec struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=ethernetsegmentconfigs // +kubebuilder:resource:singular=ethernetsegmentconfig -// +kubebuilder:resource:shortName=nxes +// +kubebuilder:resource:shortName=escfg;nxes // EthernetSegmentConfig is the Schema for the ethernetsegmentconfigs API type EthernetSegmentConfig struct { diff --git a/api/cisco/nx/v1alpha1/evpninstanceconfig_types.go b/api/cisco/nx/v1alpha1/evpninstanceconfig_types.go index 49f3b1bd7..5034b1627 100644 --- a/api/cisco/nx/v1alpha1/evpninstanceconfig_types.go +++ b/api/cisco/nx/v1alpha1/evpninstanceconfig_types.go @@ -39,7 +39,7 @@ const ( // +kubebuilder:object:root=true // +kubebuilder:resource:path=evpninstanceconfigs // +kubebuilder:resource:singular=evpninstanceconfig -// +kubebuilder:resource:shortName=nxevi +// +kubebuilder:resource:shortName=evicfg;vnicfg;nxevi;nxvni // EVPNInstanceConfig is the Schema for the evpninstanceconfigs API type EVPNInstanceConfig struct { diff --git a/api/cisco/nx/v1alpha1/interfaceconfig_types.go b/api/cisco/nx/v1alpha1/interfaceconfig_types.go index d4aadbace..2ae287455 100644 --- a/api/cisco/nx/v1alpha1/interfaceconfig_types.go +++ b/api/cisco/nx/v1alpha1/interfaceconfig_types.go @@ -130,7 +130,7 @@ const ( // +kubebuilder:object:root=true // +kubebuilder:resource:path=interfaceconfigs // +kubebuilder:resource:singular=interfaceconfig -// +kubebuilder:resource:shortName=nxint +// +kubebuilder:resource:shortName=intcfg;nxint // InterfaceConfig is the Schema for the interfaceconfigs API type InterfaceConfig struct { diff --git a/api/cisco/nx/v1alpha1/lldpconfig_types.go b/api/cisco/nx/v1alpha1/lldpconfig_types.go index c03bc1b8b..e9b56d0f1 100644 --- a/api/cisco/nx/v1alpha1/lldpconfig_types.go +++ b/api/cisco/nx/v1alpha1/lldpconfig_types.go @@ -32,7 +32,7 @@ type LLDPConfigSpec struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=lldpconfigs // +kubebuilder:resource:singular=lldpconfig -// +kubebuilder:resource:shortName=nxlldp +// +kubebuilder:resource:shortName=lldpcfg;nxlldp // LLDPConfig is the Schema for the LLDPConfig API type LLDPConfig struct { diff --git a/api/cisco/nx/v1alpha1/managementaccessconfig_types.go b/api/cisco/nx/v1alpha1/managementaccessconfig_types.go index 1ca0fe12b..8b1f716cf 100644 --- a/api/cisco/nx/v1alpha1/managementaccessconfig_types.go +++ b/api/cisco/nx/v1alpha1/managementaccessconfig_types.go @@ -48,7 +48,7 @@ type SSH struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=managementaccessconfigs // +kubebuilder:resource:singular=managementaccessconfig -// +kubebuilder:resource:shortName=nxmgmt;nxmgmtaccess +// +kubebuilder:resource:shortName=mgmtcfg;mgmtaccesscfg;nxmgmt;nxmgmtaccess // ManagementAccessConfig is the Schema for the managementaccessconfigs API type ManagementAccessConfig struct { diff --git a/api/cisco/nx/v1alpha1/nveconfig_types.go b/api/cisco/nx/v1alpha1/nveconfig_types.go index 142af895f..35bd09e32 100644 --- a/api/cisco/nx/v1alpha1/nveconfig_types.go +++ b/api/cisco/nx/v1alpha1/nveconfig_types.go @@ -59,7 +59,7 @@ type VLANListItem struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=networkvirtualizationedgeconfigs // +kubebuilder:resource:singular=networkvirtualizationedgeconfig -// +kubebuilder:resource:shortName=nxnve;nveconfig +// +kubebuilder:resource:shortName=nvecfg;vtepcfg;nxnve;nxvtep;nveconfig // NetworkVirtualizationEdgeConfig is the Schema for the NetworkVirtualizationEdgeConfig API type NetworkVirtualizationEdgeConfig struct { diff --git a/api/cisco/nx/v1alpha1/pimconfig_types.go b/api/cisco/nx/v1alpha1/pimconfig_types.go index faeb7cd40..b2c937e8c 100644 --- a/api/cisco/nx/v1alpha1/pimconfig_types.go +++ b/api/cisco/nx/v1alpha1/pimconfig_types.go @@ -22,7 +22,7 @@ type PIMConfigSpec struct { // +kubebuilder:object:root=true // +kubebuilder:resource:path=pimconfigs // +kubebuilder:resource:singular=pimconfig -// +kubebuilder:resource:shortName=nxpim +// +kubebuilder:resource:shortName=pimcfg;nxpim // PIMConfig is the Schema for the PIMConfig API type PIMConfig struct { diff --git a/charts/network-operator/templates/crd/aaaconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/aaaconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index b03de2ed9..2f7a4694e 100644 --- a/charts/network-operator/templates/crd/aaaconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/aaaconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,6 +15,7 @@ spec: listKind: AAAConfigList plural: aaaconfigs shortNames: + - aaacfg - nxaaa singular: aaaconfig scope: Namespaced diff --git a/charts/network-operator/templates/crd/bgpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/bgpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index 62803d96a..be5e3ffa1 100644 --- a/charts/network-operator/templates/crd/bgpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/bgpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,6 +15,7 @@ spec: listKind: BGPConfigList plural: bgpconfigs shortNames: + - bgpcfg - nxbgp singular: bgpconfig scope: Namespaced diff --git a/charts/network-operator/templates/crd/ethernetsegmentconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/ethernetsegmentconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index d9a8c7973..abb9199eb 100644 --- a/charts/network-operator/templates/crd/ethernetsegmentconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/ethernetsegmentconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,6 +15,7 @@ spec: listKind: EthernetSegmentConfigList plural: ethernetsegmentconfigs shortNames: + - escfg - nxes singular: ethernetsegmentconfig scope: Namespaced diff --git a/charts/network-operator/templates/crd/evpninstanceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/evpninstanceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index b47b20ce3..7c10a786d 100644 --- a/charts/network-operator/templates/crd/evpninstanceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/evpninstanceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,7 +15,10 @@ spec: listKind: EVPNInstanceConfigList plural: evpninstanceconfigs shortNames: + - evicfg + - vnicfg - nxevi + - nxvni singular: evpninstanceconfig scope: Namespaced versions: diff --git a/charts/network-operator/templates/crd/interfaceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/interfaceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index def038428..3d325f69d 100644 --- a/charts/network-operator/templates/crd/interfaceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/interfaceconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,6 +15,7 @@ spec: listKind: InterfaceConfigList plural: interfaceconfigs shortNames: + - intcfg - nxint singular: interfaceconfig scope: Namespaced diff --git a/charts/network-operator/templates/crd/lldpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/lldpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index 7372d2aee..4ccd09496 100644 --- a/charts/network-operator/templates/crd/lldpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/lldpconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,6 +15,7 @@ spec: listKind: LLDPConfigList plural: lldpconfigs shortNames: + - lldpcfg - nxlldp singular: lldpconfig scope: Namespaced diff --git a/charts/network-operator/templates/crd/managementaccessconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/managementaccessconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index 7e8c78c18..113cc2215 100644 --- a/charts/network-operator/templates/crd/managementaccessconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/managementaccessconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,6 +15,8 @@ spec: listKind: ManagementAccessConfigList plural: managementaccessconfigs shortNames: + - mgmtcfg + - mgmtaccesscfg - nxmgmt - nxmgmtaccess singular: managementaccessconfig diff --git a/charts/network-operator/templates/crd/networkvirtualizationedgeconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/networkvirtualizationedgeconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index bff16aa1c..0a7daca93 100644 --- a/charts/network-operator/templates/crd/networkvirtualizationedgeconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/networkvirtualizationedgeconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,7 +15,10 @@ spec: listKind: NetworkVirtualizationEdgeConfigList plural: networkvirtualizationedgeconfigs shortNames: + - nvecfg + - vtepcfg - nxnve + - nxvtep - nveconfig singular: networkvirtualizationedgeconfig scope: Namespaced diff --git a/charts/network-operator/templates/crd/pimconfigs.nx.cisco.networking.metal.ironcore.dev.yaml b/charts/network-operator/templates/crd/pimconfigs.nx.cisco.networking.metal.ironcore.dev.yaml index 10c38eee4..d089d10e2 100644 --- a/charts/network-operator/templates/crd/pimconfigs.nx.cisco.networking.metal.ironcore.dev.yaml +++ b/charts/network-operator/templates/crd/pimconfigs.nx.cisco.networking.metal.ironcore.dev.yaml @@ -15,6 +15,7 @@ spec: listKind: PIMConfigList plural: pimconfigs shortNames: + - pimcfg - nxpim singular: pimconfig scope: Namespaced diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_aaaconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_aaaconfigs.yaml index 89dd5ba66..2b0a1af4c 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_aaaconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_aaaconfigs.yaml @@ -12,6 +12,7 @@ spec: listKind: AAAConfigList plural: aaaconfigs shortNames: + - aaacfg - nxaaa singular: aaaconfig scope: Namespaced diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_bgpconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_bgpconfigs.yaml index 860299747..bee74f549 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_bgpconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_bgpconfigs.yaml @@ -12,6 +12,7 @@ spec: listKind: BGPConfigList plural: bgpconfigs shortNames: + - bgpcfg - nxbgp singular: bgpconfig scope: Namespaced diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_ethernetsegmentconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_ethernetsegmentconfigs.yaml index 788e6463a..3ec44c6d4 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_ethernetsegmentconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_ethernetsegmentconfigs.yaml @@ -12,6 +12,7 @@ spec: listKind: EthernetSegmentConfigList plural: ethernetsegmentconfigs shortNames: + - escfg - nxes singular: ethernetsegmentconfig scope: Namespaced diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_evpninstanceconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_evpninstanceconfigs.yaml index 8535da6d0..1852ebbc0 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_evpninstanceconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_evpninstanceconfigs.yaml @@ -12,7 +12,10 @@ spec: listKind: EVPNInstanceConfigList plural: evpninstanceconfigs shortNames: + - evicfg + - vnicfg - nxevi + - nxvni singular: evpninstanceconfig scope: Namespaced versions: diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_interfaceconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_interfaceconfigs.yaml index c10a3f3a7..fe6606c13 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_interfaceconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_interfaceconfigs.yaml @@ -12,6 +12,7 @@ spec: listKind: InterfaceConfigList plural: interfaceconfigs shortNames: + - intcfg - nxint singular: interfaceconfig scope: Namespaced diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_lldpconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_lldpconfigs.yaml index 4c0b0a259..b5a0b5397 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_lldpconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_lldpconfigs.yaml @@ -12,6 +12,7 @@ spec: listKind: LLDPConfigList plural: lldpconfigs shortNames: + - lldpcfg - nxlldp singular: lldpconfig scope: Namespaced diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_managementaccessconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_managementaccessconfigs.yaml index 8d29d6286..6b29079c9 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_managementaccessconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_managementaccessconfigs.yaml @@ -12,6 +12,8 @@ spec: listKind: ManagementAccessConfigList plural: managementaccessconfigs shortNames: + - mgmtcfg + - mgmtaccesscfg - nxmgmt - nxmgmtaccess singular: managementaccessconfig diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_networkvirtualizationedgeconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_networkvirtualizationedgeconfigs.yaml index 91f791209..7d4009629 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_networkvirtualizationedgeconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_networkvirtualizationedgeconfigs.yaml @@ -12,7 +12,10 @@ spec: listKind: NetworkVirtualizationEdgeConfigList plural: networkvirtualizationedgeconfigs shortNames: + - nvecfg + - vtepcfg - nxnve + - nxvtep - nveconfig singular: networkvirtualizationedgeconfig scope: Namespaced diff --git a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_pimconfigs.yaml b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_pimconfigs.yaml index 59cea7e20..41e8e7853 100644 --- a/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_pimconfigs.yaml +++ b/config/crd/bases/nx.cisco.networking.metal.ironcore.dev_pimconfigs.yaml @@ -12,6 +12,7 @@ spec: listKind: PIMConfigList plural: pimconfigs shortNames: + - pimcfg - nxpim singular: pimconfig scope: Namespaced