From da5a393cfed4dc1826be5b670edcf59f388b177a Mon Sep 17 00:00:00 2001
From: Jeremy Stanley <fungi@yuggoth.org>
Date: Mon, 26 Aug 2024 22:18:43 +0000
Subject: [PATCH] Set up networking for Rackspace Flex tenants

The default environment for Rackspace Flex requires user-created
Neutron networks. Add our custom subnets connected to the provider
network "PUBLICNET" with our usual keypairs and open security
groups.

This is based on Clark's change several years ago for the old
InMotion cloud: I2aed6dffde4a1d6e3044c4bd8df4ca60065ae1ea

Change-Id: I8878ff36381d1e82d3bb5180e72a7eec1ce28056
---
 inventory/service/group_vars/bastion.yaml | 26 +++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/inventory/service/group_vars/bastion.yaml b/inventory/service/group_vars/bastion.yaml
index d075ad975f..003e41c99b 100644
--- a/inventory/service/group_vars/bastion.yaml
+++ b/inventory/service/group_vars/bastion.yaml
@@ -213,6 +213,32 @@ cloud_launcher_clouds:
     profiles:
       - openstackci-keypairs
 
+  # rackspace flex
+  - name: opendevci-raxflex-sjc3
+    oscc_cloud: opendevci-raxflex
+    region_name: SJC3
+    profiles:
+      - openstackci-keypairs
+      - openstackci-security
+      - opendevci-networking
+    routers:
+      - name: opendevci-router1
+        network: PUBLICNET
+        interfaces:
+          - opendevci-subnet1
+  - name: opendevzuul-raxflex-sjc3
+    oscc_cloud: opendevzuul-raxflex
+    region_name: SJC3
+    profiles:
+      - openstackci-keypairs
+      - openstackci-security
+      - opendevzuul-networking
+    routers:
+      - name: opendevzuul-router1
+        network: PUBLICNET
+        interfaces:
+          - opendevzuul-subnet1
+
   # OSUOSL
   - name: opendevci-osuosl
     oscc_cloud: opendevci-osuosl