Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Updating samples
Browse files Browse the repository at this point in the history
- remove the symlinks
- update IPAM sample

Signed-off-by: Fabricio Aguiar <[email protected]>
  • Loading branch information
fao89 committed Sep 8, 2023
1 parent 8a2b7f4 commit b9d8133
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 80 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@ kind: OpenStackDataPlaneNodeSet
metadata:
name: openstack-edpm-ipam
spec:
ansibleSSHPrivateKeySecret: dataplane-ansible-ssh-private-key-secret
env:
- name: ANSIBLE_FORCE_COLOR
value: "True"
- name: ANSIBLE_ENABLE_TASK_DEBUGGER
value: "True"
preProvisioned: true
deployStrategy:
deploy: true
services:
- configure-network
- validate-network
Expand All @@ -21,60 +17,27 @@ spec:
- ovn
- libvirt
- nova
baremetalSetTemplate:
deploymentSSHSecret: dataplane-ansible-ssh-private-key-secret
bmhLabelSelector:
app: openstack
ctlplaneInterface: enp1s0
dnsSearchDomains:
- osptest.openstack.org
deployStrategy:
deploy: true
nodeTemplate:
ansibleSSHPrivateKeySecret: dataplane-ansible-ssh-private-key-secret
nodes:
edpm-compute-0:
hostName: edpm-compute-0
ansible:
ansibleHost: 192.168.111.100
ansibleVars:
ctlplane_ip: 192.168.111.100
internal_api_ip: 172.17.0.100
storage_ip: 172.18.0.100
tenant_ip: 172.19.0.100
fqdn_internal_api: edpm-compute-0.example.com
networks:
- name: CtlPlane
subnetName: subnet1
defaultRoute: true
fixedIP: 192.168.111.100
- name: InternalApi
subnetName: subnet1
- name: Storage
subnetName: subnet1
- name: Tenant
subnetName: subnet1
edpm-compute-1:
hostName: edpm-compute-1
ansible:
ansibleHost: 192.168.111.101
ansibleVars:
ctlplane_ip: 192.168.111.101
internal_api_ip: 172.17.0.101
storage_ip: 172.18.0.101
tenant_ip: 172.19.0.101
fqdn_internal_api: edpm-compute-1.example.com
networks:
- name: CtlPlane
subnetName: subnet1
defaultRoute: true
fixedIP: 192.168.111.101
- name: InternalApi
subnetName: subnet1
- name: Storage
subnetName: subnet1
- name: Tenant
subnetName: subnet1
- name: CtlPlane
subnetName: subnet1
defaultRoute: true
fixedIP: 192.168.122.100
- name: InternalApi
subnetName: subnet1
- name: Storage
subnetName: subnet1
- name: Tenant
subnetName: subnet1
managementNetwork: ctlplane
ansible:
ansibleUser: cloud-admin
ansibleUser: root
ansiblePort: 22
ansibleVars:
service_net_map:
Expand All @@ -87,32 +50,11 @@ spec:
# Default nic config template for a EDPM compute node
# These vars are edpm_network_config role vars
edpm_network_config_hide_sensitive_logs: false
edpm_network_config_template: templates/single_nic_vlans/single_nic_vlans.j2
# These vars are for the network config templates themselves and are
# considered EDPM network defaults.
neutron_physical_bridge_name: br-ex
neutron_public_interface_name: eth0
ctlplane_mtu: 1500
ctlplane_subnet_cidr: 24
ctlplane_gateway_ip: 192.168.111.1
ctlplane_host_routes:
- ip_netmask: 0.0.0.0/0
next_hop: 192.168.111.1
external_mtu: 1500
external_vlan_id: 44
external_cidr: '24'
external_host_routes: []
internal_api_mtu: 1500
internal_api_vlan_id: 20
internal_api_cidr: '24'
internal_api_host_routes: []
storage_mtu: 1500
storage_vlan_id: 21
storage_cidr: '24'
storage_host_routes: []
tenant_mtu: 1500
tenant_vlan_id: 22
tenant_cidr: '24'
tenant_host_routes: []
role_networks:
- InternalApi
- Storage
Expand All @@ -130,11 +72,8 @@ spec:
edpm_ovn_metadata_agent_metadata_agent_DEFAULT_nova_metadata_host: 127.0.0.1
edpm_ovn_metadata_agent_metadata_agent_DEFAULT_metadata_proxy_shared_secret: 12345678
edpm_ovn_metadata_agent_DEFAULT_bind_host: 127.0.0.1
ctlplane_dns_nameservers:
- 192.168.111.1
dns_search_domains: []
edpm_ovn_dbs:
- 192.168.111.1
- 192.168.122.1
registry_url: quay.io/podified-antelope-centos9
image_tag: current-podified
edpm_ovn_controller_agent_image: "{{ registry_url }}/openstack-ovn-controller:{{ image_tag }}"
Expand All @@ -147,6 +86,6 @@ spec:
enable_debug: false
# edpm firewall, change the allowed CIDR if needed
edpm_sshd_configure_firewall: true
edpm_sshd_allowed_ranges: ['192.168.111.0/24']
edpm_sshd_allowed_ranges: ['192.168.122.0/24']
# SELinux module
edpm_selinux_mode: enforcing

0 comments on commit b9d8133

Please sign in to comment.