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

[BGP_DT01] Enable octavia #338

Merged
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
3 changes: 3 additions & 0 deletions automation/mocks/bgp_dt01.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,9 @@ cifmw_networking_env_definition:
start: 172.23.0.30
start_host: 30
ipv6_ranges: []
ipv4_routes:
- destination: "172.24.0.0/16"
gateway: "172.23.0.150"
netconfig:
ipv4_ranges:
- end: 172.23.0.250
Expand Down
48 changes: 48 additions & 0 deletions dt/bgp/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,54 @@ replacements:
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaAPI.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaAPI.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaHealthManager.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaHealthManager.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaHousekeeping.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaHousekeeping.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
fieldPath: data.octavia.octaviaWorker.customServiceConfig
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.octavia.template.octaviaWorker.customServiceConfig
options:
create: true

- source:
kind: ConfigMap
name: service-values
Expand Down
14 changes: 13 additions & 1 deletion examples/dt/bgp/bgp_dt01/control-plane/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,33 @@ data:
enabled: true

octavia:
enabled: false
enabled: true
amphoraImageContainerImage: quay.io/gthiemonge/octavia-amphora-image
apacheContainerImage: registry.redhat.io/ubi9/httpd-24:latest
octaviaAPI:
networkAttachments:
- internalapi
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHousekeeping:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHealthManager:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaWorker:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY

ovn:
ovnController:
Expand Down
13 changes: 13 additions & 0 deletions examples/dt/bgp/control-plane/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,28 @@ data:
octaviaAPI:
networkAttachments:
- internalapi
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHousekeeping:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaHealthManager:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY
octaviaWorker:
networkAttachments:
- octavia
customServiceConfig: |
[controller_worker]
loadbalancer_topology=ACTIVE_STANDBY


ovn:
ovnController:
Expand Down