Skip to content

Commit

Permalink
[BGP_DT01] Enable octavia
Browse files Browse the repository at this point in the history
  • Loading branch information
eduolivares committed Oct 23, 2024
1 parent a0cf8f9 commit 573df6a
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 1 deletion.
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

0 comments on commit 573df6a

Please sign in to comment.