Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharding of snatglobalinfo #623

Open
wants to merge 1 commit into
base: kmr2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion provision/acc_provision/acc_provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def config_default():
"snat_operator": {
"name": "snat-operator",
"watch_namespace": "",
"globalinfo_name": "snatglobalinfo",
"rdconfig_name": "routingdomain-config",
"port_range": {
"start": 5000,
Expand Down
5 changes: 3 additions & 2 deletions provision/acc_provision/templates/aci-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down Expand Up @@ -2500,8 +2503,6 @@ spec:
{% endif %}
- name: ACI_SNAT_NAMESPACE
value: "{{ config.kube_config.snat_operator.snat_namespace }}"
- name: ACI_SNAGLOBALINFO_NAME
value: "{{ config.kube_config.snat_operator.globalinfo_name }}"
- name: ACI_RDCONFIG_NAME
value: "{{ config.kube_config.snat_operator.rdconfig_name }}"
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/base_case.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/base_case_ipv6.kube.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provision/testdata/base_case_operator_cr.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/base_case_operator_mode.kube.yaml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion provision/testdata/base_case_snat.inp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ kube_config:
use_ds_rolling_update: true
snat_operator:
name: test_snat-operator
globalinfo_name: test_snatglobalinfo
port_range:
start: 6000
end: 62000
Expand Down
8 changes: 4 additions & 4 deletions provision/testdata/base_case_snat.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/base_case_upgrade.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_aks.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/flavor_cloud.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/flavor_dockerucp.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/flavor_eks.kube.yaml

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions provision/testdata/flavor_localhost.kube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down Expand Up @@ -2046,8 +2049,6 @@ spec:
env:
- name: ACI_SNAT_NAMESPACE
value: "kube-system"
- name: ACI_SNAGLOBALINFO_NAME
value: "snatglobalinfo"
- name: ACI_RDCONFIG_NAME
value: "routingdomain-config"
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_310.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_311.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_43.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_44_esx.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_44_openstack.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_45_esx.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_45_openstack.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_46_baremetal.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_46_esx.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_46_openstack.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_47_esx.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_47_openstack.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_48_esx.kube.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ spec:
type: object
type: array
type: object
nodeName:
type: string
required:
- globalInfos
- nodeName
type: object
status:
description: SnatGlobalInfoStatus defines the observed state of SnatGlobalInfo
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ spec:
value: ''
- name: ACI_SNAT_NAMESPACE
value: aci-containers-system
- name: ACI_SNAGLOBALINFO_NAME
value: snatglobalinfo
- name: ACI_RDCONFIG_NAME
value: routingdomain-config
- name: SYSTEM_NAMESPACE
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_48_openstack.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/flavor_openshift_49_esx.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/nested-elag.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/nested-portgroup.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/nested-vlan.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/nested-vxlan.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/pod_ext_access.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/sample.kube.yaml

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions provision/testdata/test_new_naming_convention_openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,6 @@ spec:
value: ""
- name: ACI_SNAT_NAMESPACE
value: "aci-containers-system"
- name: ACI_SNAGLOBALINFO_NAME
value: "snatglobalinfo"
- name: ACI_RDCONFIG_NAME
value: "routingdomain-config"
volumeMounts:
Expand Down
2 changes: 0 additions & 2 deletions provision/testdata/test_with_no_istio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,6 @@ spec:
value: ""
- name: ACI_SNAT_NAMESPACE
value: "aci-containers-system"
- name: ACI_SNAGLOBALINFO_NAME
value: "snatglobalinfo"
- name: ACI_RDCONFIG_NAME
value: "routingdomain-config"
volumeMounts:
Expand Down
7 changes: 4 additions & 3 deletions provision/testdata/vlan_case.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_comments.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_interface_mtu.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_interface_mtu_headroom.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_istio_default_profile.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_new_naming_convention.kube.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_no_drop_log.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_no_install_istio.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_no_sriov_config_kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_overrides.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_pbr_non_snat.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_preexisting_tenant.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_refreshtime.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_sriov_config_kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_sriov_config_no_deviceinfo_kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_tenant_l3out.kube.yaml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions provision/testdata/with_wait_for_network.kube.yaml

Large diffs are not rendered by default.