-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added missing NadVlanMap CRD and updated nodefabricnetworkattachments…
… CRD
- Loading branch information
1 parent
29a5552
commit 5ab876d
Showing
24 changed files
with
827 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...tdata/chained_mode_nad_vlan_map_tar/cluster-network-21-ConfigMap-aci-operator-config.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
...map_tar/cluster-network-35-CustomResourceDefinition-nadvlanmaps.aci.fabricattachment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: nadvlanmaps.aci.fabricattachment | ||
spec: | ||
group: aci.fabricattachment | ||
names: | ||
kind: NadVlanMap | ||
listKind: NadVlanMapList | ||
plural: nadvlanmaps | ||
singular: nadvlanmap | ||
scope: Cluster | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: NadVlanMap is the Schema for FabricAttachments NAD name to vlan | ||
mapping API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
nadVlanMapping: | ||
additionalProperties: | ||
items: | ||
properties: | ||
label: | ||
type: string | ||
vlans: | ||
type: string | ||
required: | ||
- vlans | ||
type: object | ||
type: array | ||
description: NAD namespace/name to vlan list mapping | ||
type: object | ||
required: | ||
- nadVlanMapping | ||
type: object | ||
status: | ||
properties: | ||
status: | ||
type: string | ||
type: object | ||
required: | ||
- spec | ||
type: object | ||
x-kubernetes-validations: | ||
- message: Only one instance with name nad-vlan-map allowed | ||
rule: self.metadata.name == 'nad-vlan-map' | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
85 changes: 83 additions & 2 deletions
85
provision/testdata/chained_mode_without_phys_domains.kube.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
85 changes: 83 additions & 2 deletions
85
provision/testdata/flavor_openshift_sdn_ovn_baremetal.kube.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...vor_openshift_sdn_ovn_baremetal_tar/cluster-network-21-ConfigMap-aci-operator-config.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
...tal_tar/cluster-network-35-CustomResourceDefinition-nadvlanmaps.aci.fabricattachment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.0 | ||
name: nadvlanmaps.aci.fabricattachment | ||
spec: | ||
group: aci.fabricattachment | ||
names: | ||
kind: NadVlanMap | ||
listKind: NadVlanMapList | ||
plural: nadvlanmaps | ||
singular: nadvlanmap | ||
scope: Cluster | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: NadVlanMap is the Schema for FabricAttachments NAD name to vlan | ||
mapping API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
nadVlanMapping: | ||
additionalProperties: | ||
items: | ||
properties: | ||
label: | ||
type: string | ||
vlans: | ||
type: string | ||
required: | ||
- vlans | ||
type: object | ||
type: array | ||
description: NAD namespace/name to vlan list mapping | ||
type: object | ||
required: | ||
- nadVlanMapping | ||
type: object | ||
status: | ||
properties: | ||
status: | ||
type: string | ||
type: object | ||
required: | ||
- spec | ||
type: object | ||
x-kubernetes-validations: | ||
- message: Only one instance with name nad-vlan-map allowed | ||
rule: self.metadata.name == 'nad-vlan-map' | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
85 changes: 83 additions & 2 deletions
85
provision/testdata/override_skip_node_network_provision.kube.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
85 changes: 83 additions & 2 deletions
85
provision/testdata/override_use_global_scope_vlan.kube.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
85 changes: 83 additions & 2 deletions
85
provision/testdata/with_preexisting_tenant_chained_mode.kube.yaml
Large diffs are not rendered by default.
Oops, something went wrong.