Skip to content

Commit 82b9a2e

Browse files
Add short names for NX provider configs
Signed-off-by: Felix Kästner <felix.kaestner@sap.com>
1 parent 3c77048 commit 82b9a2e

27 files changed

Lines changed: 37 additions & 9 deletions

‎api/cisco/nx/v1alpha1/aaaconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ type AAAMethodList struct {
7070
// +kubebuilder:object:root=true
7171
// +kubebuilder:resource:path=aaaconfigs
7272
// +kubebuilder:resource:singular=aaaconfig
73-
// +kubebuilder:resource:shortName=nxaaa
73+
// +kubebuilder:resource:shortName=aaacfg;nxaaa
7474

7575
// AAAConfig is the Schema for the aaaconfigs API
7676
type AAAConfig struct {

‎api/cisco/nx/v1alpha1/bgpconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ type BGPConfigUnicastAddressFamily struct {
8181
// +kubebuilder:object:root=true
8282
// +kubebuilder:resource:path=bgpconfigs
8383
// +kubebuilder:resource:singular=bgpconfig
84-
// +kubebuilder:resource:shortName=nxbgp
84+
// +kubebuilder:resource:shortName=bgpcfg;nxbgp
8585

8686
// BGPConfig is the Schema for the bgpconfigs API
8787
type BGPConfig struct {

‎api/cisco/nx/v1alpha1/ethernetsegmentconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type EthernetSegmentConfigSpec struct {
2525
// +kubebuilder:object:root=true
2626
// +kubebuilder:resource:path=ethernetsegmentconfigs
2727
// +kubebuilder:resource:singular=ethernetsegmentconfig
28-
// +kubebuilder:resource:shortName=nxes
28+
// +kubebuilder:resource:shortName=escfg;nxes
2929

3030
// EthernetSegmentConfig is the Schema for the ethernetsegmentconfigs API
3131
type EthernetSegmentConfig struct {

‎api/cisco/nx/v1alpha1/evpninstanceconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939
// +kubebuilder:object:root=true
4040
// +kubebuilder:resource:path=evpninstanceconfigs
4141
// +kubebuilder:resource:singular=evpninstanceconfig
42-
// +kubebuilder:resource:shortName=nxevi
42+
// +kubebuilder:resource:shortName=evicfg;vnicfg;nxevi;nxvni
4343

4444
// EVPNInstanceConfig is the Schema for the evpninstanceconfigs API
4545
type EVPNInstanceConfig struct {

‎api/cisco/nx/v1alpha1/interfaceconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const (
130130
// +kubebuilder:object:root=true
131131
// +kubebuilder:resource:path=interfaceconfigs
132132
// +kubebuilder:resource:singular=interfaceconfig
133-
// +kubebuilder:resource:shortName=nxint
133+
// +kubebuilder:resource:shortName=intcfg;nxint
134134

135135
// InterfaceConfig is the Schema for the interfaceconfigs API
136136
type InterfaceConfig struct {

‎api/cisco/nx/v1alpha1/lldpconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type LLDPConfigSpec struct {
3232
// +kubebuilder:object:root=true
3333
// +kubebuilder:resource:path=lldpconfigs
3434
// +kubebuilder:resource:singular=lldpconfig
35-
// +kubebuilder:resource:shortName=nxlldp
35+
// +kubebuilder:resource:shortName=lldpcfg;nxlldp
3636

3737
// LLDPConfig is the Schema for the LLDPConfig API
3838
type LLDPConfig struct {

‎api/cisco/nx/v1alpha1/managementaccessconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type SSH struct {
4848
// +kubebuilder:object:root=true
4949
// +kubebuilder:resource:path=managementaccessconfigs
5050
// +kubebuilder:resource:singular=managementaccessconfig
51-
// +kubebuilder:resource:shortName=nxmgmt;nxmgmtaccess
51+
// +kubebuilder:resource:shortName=mgmtcfg;mgmtaccesscfg;nxmgmt;nxmgmtaccess
5252

5353
// ManagementAccessConfig is the Schema for the managementaccessconfigs API
5454
type ManagementAccessConfig struct {

‎api/cisco/nx/v1alpha1/nveconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ type VLANListItem struct {
5959
// +kubebuilder:object:root=true
6060
// +kubebuilder:resource:path=networkvirtualizationedgeconfigs
6161
// +kubebuilder:resource:singular=networkvirtualizationedgeconfig
62-
// +kubebuilder:resource:shortName=nxnve;nveconfig
62+
// +kubebuilder:resource:shortName=nvecfg;vtepcfg;nxnve;nxvtep;nveconfig
6363

6464
// NetworkVirtualizationEdgeConfig is the Schema for the NetworkVirtualizationEdgeConfig API
6565
type NetworkVirtualizationEdgeConfig struct {

‎api/cisco/nx/v1alpha1/pimconfig_types.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type PIMConfigSpec struct {
2222
// +kubebuilder:object:root=true
2323
// +kubebuilder:resource:path=pimconfigs
2424
// +kubebuilder:resource:singular=pimconfig
25-
// +kubebuilder:resource:shortName=nxpim
25+
// +kubebuilder:resource:shortName=pimcfg;nxpim
2626

2727
// PIMConfig is the Schema for the PIMConfig API
2828
type PIMConfig struct {

‎charts/network-operator/templates/crd/aaaconfigs.nx.cisco.networking.metal.ironcore.dev.yaml‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)