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

Add ACRC_IAM project #2

Open
wants to merge 2 commits into
base: acrc-main
Choose a base branch
from
Open
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
37 changes: 37 additions & 0 deletions etc/openstack-config/openstack-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# role.
openstack_projects:
- "{{ openstack_project_stackhpc }}"
- "{{ openstack_project_acrc_iam }}"

# Definition of the openstack demo project. Format is as required by the
# stackhpc.os-projects role.
Expand Down Expand Up @@ -40,6 +41,16 @@ openstack_stackhpc_users:
password: "placeholder"
roles: "{{ openstack_user_roles }}"

openstack_project_acrc_iam:
name: "acrc_iam"
description: "ACRC IAM project"
project_domain: "default"
user_domain: "default"
users: "{{ openstack_acrc_iam_users }}"
quotas: "{{ openstack_unlimited_quotas }}"

openstack_acrc_iam_users: []

# List of roles to apply to regular users in the openstack demo project.
openstack_user_roles:
- member
Expand Down Expand Up @@ -98,6 +109,7 @@ openstack_networks:
- "{{ openstack_network_external_internet }}"
- "{{ openstack_network_stackhpc }}"
- "{{ openstack_network_stackhpc_vlan }}"
- "{{ openstack_network_acrc_iam }}"

#
# External/Internet network
Expand Down Expand Up @@ -130,6 +142,7 @@ openstack_subnet_external_internet:
# stackhpc.os-networks role.
openstack_routers:
- "{{ openstack_router_stackhpc }}"
- "{{ openstack_router_acrc_iam }}"

# List of security groups in the openstack project.
# Format is as required by the stackhpc.os-networks role.
Expand Down Expand Up @@ -202,6 +215,30 @@ openstack_secgroup_stackhpc:
project: "{{ openstack_project_stackhpc.name }}"
rules: "{{ openstack_secgroup_rules_default }}"

## ACRC IAM Network
openstack_network_acrc_iam:
name: "{{ openstack_project_acrc_iam.name }}"
project: "{{ openstack_project_acrc_iam.name }}"
shared: false
external: false
# Subnet configuration.
subnets:
- "{{ openstack_subnet_acrc_iam }}"

openstack_subnet_acrc_iam:
name: "{{ openstack_project_acrc_iam.name }}"
project: "{{ openstack_project_acrc_iam.name }}"
cidr: "192.168.0.0/24"
gateway_ip: "192.168.0.1"
allocation_pool_start: "192.168.0.10"
allocation_pool_end: "192.168.0.250"

openstack_router_acrc_iam:
name: "{{ openstack_project_acrc_iam.name }}"
project: "{{ openstack_project_acrc_iam.name }}"
interfaces:
- "{{ openstack_network_acrc_iam.name }}"
network: "{{ openstack_network_external_internet.name }}"

###############################################################################
# Configuration of nova flavors.
Expand Down