Compare commits

6 Commits

16 changed files with 1311 additions and 0 deletions

2
.ansible-lint Normal file
View File

@@ -0,0 +1,2 @@
---
profile: safety

1
.ansible-lint-ignore Normal file
View File

@@ -0,0 +1 @@
devstack_setup.yml package-latest

3
.gitignore vendored
View File

@@ -1,3 +1,6 @@
# ---> Ansible
*.retry
.*.vault
roles/
collections/ansible_collections/

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"ansible.python.interpreterPath": "/home/ptoal/.virtualenvs/ansible/bin/python"
}

1
Home_OSP_Network.drawio Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
---
collections:
- fedora.linux_system_roles
- openvswitch.openvswitch

148
devstack_setup.yml Normal file
View File

@@ -0,0 +1,148 @@
---
- name: Update packages on compute and control nodes
hosts: control, compute
become: true
tasks:
# - name: Add RDO Antelope repo to dnf
# ansible.builtin.dnf:
# name: 'https://www.rdoproject.org/repos/rdo-release.el9.rpm'
# state: present
# disable_gpg_check: true
- name: Update all packages
ansible.builtin.package:
name: '*'
state: latest
- name: Install full curl package with allowerasing
ansible.builtin.dnf:
name: curl
state: present
allowerasing: true
- name: Packages installed
ansible.builtin.dnf:
name: "{{ install_packages }}"
state: present
allowerasing: true
# TODO: Properly handle getting kmod from centos-kmod-rebuild
# TODO: Restart NetworkManager service if NetworkManager-ovs package is updated
- name: Create stack user for admin
ansible.builtin.user:
name: stack
shell: /bin/bash
home: /opt/stack
comment: Openstack Administration
- name: Give passwordless sudo access to stack user
community.general.sudoers:
name: stack
commands: ALL
runas: root
user: stack
state: present
# - name: OpenVSwitch Service enabled and started
# ansible.builtin.service:
# name: openvswitch
# state: started
# enabled: true
- name: Bootstrap Network configuration
hosts: all
become: true
roles:
- fedora.linux_system_roles.network
# TODO: Fix this
# - name: Install openstack admin ssh key
# ansible.posix.authorized_key:
# user: root
# key: "{{ lookup('file', '{{ item }}') }}"
# state: present
# with_fileglob:
# - openstack_admin.pub
- name: Prepare for openstack-ansible deployment
hosts: control
become: true
tasks:
- name: Disable and mask firewalld
ansible.builtin.systemd:
name: firewalld
enabled: false
masked: true
state: stopped
- name: Enable SELinux
ansible.posix.selinux:
state: permissive
policy: targeted
# Fix this
# - name: Copy ssh key to .ssh directory
# ansible.builtin.copy:
# content: "{{ openssh_private_key }}"
# dest: /root/.ssh/openstack_admin
# owner: root
# group: root
# mode: '0600'
# - name: Copy public key to .ssh directory
# ansible.builtin.copy:
# src: openstack_admin.pub
# dest: /root/.ssh/id_rsa.pub
# owner: root
# group: root
# mode: '0600'
- name: Add /usr/local/bin to bashrc PATH
ansible.builtin.lineinfile:
path: /etc/bashrc
line: PATH="${PATH}:/usr/local/sbin:/usr/local/bin"
state: present
insertafter: EOF
create: true
- name: Clone openstack-ansible repo into /opt/openstack-ansible
ansible.builtin.git:
repo: https://opendev.org/openstack/openstack-ansible
dest: /opt/openstack-ansible
version: "{{ openstack_ansible_version }}"
force: true
- name: Execute bootstrap script
ansible.builtin.command:
cmd: '/opt/openstack-ansible/scripts/bootstrap-ansible.sh'
creates: /usr/local/bin/openstack-ansible
- name: /etc/openstack_deploy exists
ansible.builtin.file:
path: /etc/openstack_deploy
state: directory
mode: '0755'
owner: stack
group: stack
- name: Copy files to /etc/openstack_deploy directory
ansible.builtin.copy:
src: '{{ item }}'
dest: /etc/openstack_deploy/{{ item }}
mode: '0600'
owner: stack
group: stack
with_items:
- openstack_user_config.yml
- user_secrets.yml
- user_variables.yml
- name: Prepare compute hosts
hosts: compute
become: true

View File

@@ -0,0 +1,253 @@
cidr_networks:
container: 172.29.236.0/22
tunnel: 172.29.240.0/22
storage: 172.29.244.0/22
used_ips:
- "172.29.236.1,172.29.236.20"
- "172.29.240.1,172.29.240.20"
- "172.29.244.1,172.29.244.20"
global_overrides:
internal_lb_vip_address: 172.29.236.11
external_lb_vip_address: 172.29.236.10
management_bridge: "br-mgmt"
tunnel_bridge: "br-tunnel"
neutron_provider_networks:
network_types: "geneve"
network_geneve_ranges: "1:1000"
network_vlan_ranges: "public"
network_mappings: "public:br-publicnet"
network_interface_mappings: "br-publicnet:bond1"
provider_networks:
- network:
container_bridge: "br-mgmt"
container_type: "veth"
container_interface: "eth1"
ip_from_q: "container"
type: "raw"
group_binds:
- all_containers
- hosts
is_management_address: true
is_container_address: true
- network:
container_bridge: "br-storage"
container_type: "veth"
container_interface: "eth2"
container_mtu: "9000"
ip_from_q: "storage"
type: "raw"
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
- repo_container
- network:
container_bridge: "br-tunnel"
container_type: "veth"
container_interface: "eth10"
container_mtu: "9000"
ip_from_q: "tunnel"
net_name: "tunnel"
type: "geneve"
range: "1:1000"
group_binds:
- network_hosts
- compute_hosts
- network:
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
container_mtu: "9000"
type: "vlan"
range: "700:899"
net_name: "vlan"
host_bind_override: "ens2f1"
group_binds:
- compute_hosts
- network:
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
container_mtu: "9000"
type: "vlan"
range: "700:899"
net_name: "vlan"
host_bind_override: "ens3"
group_binds:
- network_hosts
# Workaround for https://github.com/eventlet/eventlet/issues/781
# venv_default_pip_packages:
# - eventlet==0.33.3
neutron_plugin_type: ml2.ovn
neutron_plugin_base:
- ovn-router
neutron_ml2_drivers_type: "vlan,local,geneve"
# neutron_plugin_type: ml2.ovs
# neutron_ml2_drivers_type: "flat,vlan,vxlan"
# neutron_plugin_base:
# - router
###
### Infrastructure
###
# galera, memcache, rabbitmq, utility
shared-infra_hosts:
infra1:
ip: 172.29.236.11
# repository (apt cache, python packages, etc)
repo-infra_hosts:
infra1:
ip: 172.29.236.11
# load balancer
haproxy_hosts:
infra1:
ip: 172.29.236.11
###
### OpenStack
###
# keystone
identity_hosts:
infra1:
ip: 172.29.236.11
# cinder api services
storage-infra_hosts:
infra1:
ip: 172.29.236.11
# glance
image_hosts:
infra1:
ip: 172.29.236.11
# placement
placement-infra_hosts:
infra1:
ip: 172.29.236.11
# nova api, conductor, etc services
compute-infra_hosts:
infra1:
ip: 172.29.236.11
# heat
orchestration_hosts:
infra1:
ip: 172.29.236.11
# horizon
dashboard_hosts:
infra1:
ip: 172.29.236.11
# neutron server, agents (L3, etc)
network_hosts:
infra1:
ip: 172.29.236.11
network-northd_hosts:
infra1:
ip: 172.29.236.11
neutron_ovn_northd:
infra1:
ip: 172.29.236.11
network-gateway_hosts:
infra1:
ip: 172.29.236.11
neutron_ovn_controller:
infra1:
ip: 172.29.236.11
neutron_ovn_gateway:
infra1:
ip: 172.29.236.11
# nova hypervisors
compute_hosts:
compute1:
ip: 172.29.236.12
# cinder storage host (LVM-backed)
storage_hosts:
infra1:
ip: 172.29.236.11
container_vars:
cinder_backends:
cinder_nfs_storage10_evo2tb:
volume_backend_name: storage10_evo2tb
nfs_shares_config: /etc/cinder/nfs_shares_storage10_evo2tb
volume_driver: cinder.volume.drivers.nfs.NfsDriver
shares:
- { ip: 172.29.244.2, share: "/mnt/EVO2TB/stack_evo2tb" }
# --------
#
# Level: haproxy_hosts (optional)
# List of target hosts on which to deploy HAProxy. Recommend at least one
# target host for this service if hardware load balancers are not being
# used.
#
# Level: <value> (required, string)
# Hostname of a target host.
#
# Option: ip (required, string)
# IP address of this target host, typically the IP address assigned to
# the management bridge.
#
#
# Example:
#
# Define a virtual load balancer (HAProxy):
#
# While HAProxy can be used as a virtual load balancer, it is recommended to use
# a physical load balancer in a production environment.
#
# haproxy_hosts:
# lb1:
# ip: 172.29.236.100
# lb2:
# ip: 172.29.236.101
#
# In case of the above scenario(multiple hosts),HAProxy can be deployed in a
# highly-available manner by installing keepalived.
#
# To make keepalived work, edit at least the following variables
# in ``user_variables.yml``:
# haproxy_keepalived_external_vip_cidr: 192.168.0.4/25
# haproxy_keepalived_internal_vip_cidr: 172.29.236.54/16
# haproxy_keepalived_external_interface: br-flat
# haproxy_keepalived_internal_interface: br-mgmt
#
# To always deploy (or upgrade to) the latest stable version of keepalived.
# Edit the ``/etc/openstack_deploy/user_variables.yml``:
# keepalived_package_state: latest
#
# The group_vars/all/keepalived.yml contains the keepalived
# variables that are fed into the keepalived role during
# the haproxy playbook.
# You can change the keepalived behavior for your
# deployment. Refer to the ``user_variables.yml`` file for
# more information.
#
# Keepalived can ping a public and private IP address to check its status. To
# enable this feature, set the ``keepalived_external_ping_address`` and
# ``keepalived_internal_ping_address`` variables in the ``user_variables.yml``
# file.

412
files/user_secrets.yml Normal file
View File

@@ -0,0 +1,412 @@
$ANSIBLE_VAULT;1.2;AES256;toallab
62366531666635363133333066333238306465323338306561353330633662373563613963326434
3234386264343562623738656266633362356237373766320a303538393330336334346164346236
32376534616561316133633461626531303831363765383839373564636336656233353435656538
6137326433383539390a323234353361643537646339646266303661643639356637303464623935
32383162663832393634336333356231396264323530613664626462306131616662653234303130
62666231636461656339346634363131633563666430303463633164663930393539343134373935
32383237343437643132313031333834363933653438336465306130373334373933333364653139
63336332346565353036316230363266306464333363303537363239306561396236376334623835
33306430323666653438646538353639363432326165653462386134393935636232666139643531
38623531303737396464323130333263343936616634393233626436343561373861653662666162
39333735303139306233366637626662383637313534363065363831633361313363633763393162
66326131326162323237333336363766343439636663323366353033343266313936343065326565
31323739306536353936313464363636636132666639313164623163326366643234613665336234
34373262633236386138393763356433353930613237613235363663653032383730396135646433
30313938653366613731666134346462613534336130303335383435363830643336653565396630
64306361326537396262636538346232613266636439626563346663613665666466393464396364
35393239316330666561336639383762313065303466346232316633353263313262346336333030
36333263663534316362346263336335396265333935633035666462616631626238616364353434
34646530373666646534366662626366666232363565383566316238643231383739656639316166
30393038613930383230333634656233303431396330363562613862653964336332623139616335
31613038313362393139633162633832633062396436663762323134376133666665366462626565
61303734616566366237653961323737343735393865306239633230623339353836303130613762
38383238383666383737316565343465663531343166363233383237353265623637333236393265
63323338613135393938363465376136663961353863643234313739326366653666643734613236
31326638313737386165323761653666363562336630636264343131643933346536653133383134
33373033353135353031363039316366626263646235613134663939356466383738323033346464
65663762666162663939333939356237316530653962316531373938653234643937383932316337
34393936356465653833353037323437356430633966323630303937336464313962666131343864
63373830653436666563303061313030643837373835653736383731646561613731306664643730
34326565346134336437356564336439646138353464643363643338303337353439373235373835
39646665383162366539616161303033353162373337653864643333643264383461633538363934
65303263663830383763663166613466396565316332626334316430306465326163356133633561
61626264383537386334323539313965353535353463643534373063623931353235633961613161
64626431383264363865626635376530653665383030313333336438613131333230633666326466
38313031613837646130373766383962356235623964613263613437396262306435613662653430
63386130333334613831303862636236626361643332633862653662376533306534386638646435
61333030393961613630336634343331306430376536616338623337373438326138383238646164
38633365313365306266656238366231636266323365333838616262336665396564353731323166
31633264663162666639346462396162363539633262643337626261323531383162313334626464
31346231626464336561366166303239303836343339666439356138373337383062356536313366
38303634366138303231626164346465626165363737636239363730663332356534396666393238
31623837636333383364663936363630303163666666313735323230613664623336666464323464
66343137383666323436646232346136613331656631386534323739396433353830626430363061
30383462376537636235313964356261636538633163363466613635643736616537393439383965
38366534613339646438346439656131633866383131343434346539653064323331313161636665
38303437323130353231393530333334633635316162623037306664353735653863306637643461
65313762356437383263356163343636646566376337346361616230326665353231356561616639
66363431386635323161656333666366623963353066326136656534323638306136346462636130
61643136663536616165303861663038396438646563323364316166626334323530376563333661
39326163363162303165363434636130323237393064323930363739623163613662353934623938
31353632313537363330323966306133356364666362363863346333623533343036396464376462
35316539663038663666656666333639636665306565333432346332636333613164353762343065
31316536396361653663653464396630386137633731666432303534643866653338363835326432
37386563633338316334373636633934356437653630386163636139663134633232336638346563
39613263633561336366363737343361626536326131373962323931396637363161323163353339
39366261396239306165613064373766613437656131333739363931303166373537383864333938
61616364303861313662393961373635346239656632663763623266656434613936366237396334
30393064643238306331666235353838366439313066326330626230613932376463393433313563
64643361336263623130313662653936303761343430613134383730653866363237313763336335
34356536396336643232326139343064646136626164323632373233373532376434636135616131
31663839326533663665353039303361663032363531393437643739623030396631343035646666
30623164633933653037633332643335613531636633663239346634356465353431366438396132
66643961323765663534643134666330376333313864653563623065353932653164653564336537
36616163383637383861383132653764343333363365666634623564636138373636643232383431
37313662386334616663396238343530666539313231626261646531616661626439646161346530
35663766396638386636343432633837383066306666616136373366636363306636616132636330
62316231663631363963313836663231643664373232653336623637656132626461646438363036
39333232623561653138346162643635323462316666383061303562386632353238653263376430
62306663373331653238363664663862636337373964363435303834353039346435656234613236
66373036316434666632373531386261643266366566663163366361393232303135313964383433
62626639633237373665653962383462323235363237353935333337363438333131333663393430
38326639613930326436323831643131366433396432393265336330643935613864313433636131
63313262623233363637643137303231346331616631333630616434656433316533616363363039
36326134333561376438663662616239306631323139613938386635613139613864653661343863
34626162353563313637383530306134393835663638623836393336643563323939373439316630
39656263383261626335366138633661653431633132626138363461353037343136616231313762
35366163356663353138376562663434353761393937623238323730333738346137636363396664
63396666326564323264643966653134623663303931353931646230613362613437303262653634
37636366653439376330356332303638616164363664303164323562366465653333353135396635
31313432666638346261366262383336383133303336373466653337626130653461313739366262
64346562366436376661333034323630373936313938666664383764633364363562653434353338
64343436643137653662623630303233653735626266643932643162643838336234633066666136
36346135373431386336346134353762366162653565633937636237386263383430666338646534
34623865616635616531333065313539646637613036393539316132353963396565346265313161
39386266613537353065316164303733346165633836313832313934613063656131626563303939
63656436633462366562616430343362386163666232613530653238326665376137656466623162
65643164303233326439666661346331633861643239396665336161636337363931383663366164
63313466303739316663303439646436326134383937623839363530616365383738323732623534
31396665353130653832356662653434323732306561333635346433663133393732333866656231
34636136383439356464363232636138616238656462336364653562643630356332653739333934
66316166393931313930343731633462373263313730336131623737613063306131646265663432
64396265316537323437343161343830353736666366366235313135313664333235356463623739
64366461386163373733386138366633383031633665623161636532343737336363396333323062
34623164653261613735323537343435613662336234346338653837353331373662396466376538
37396439346161393162353636306335376638653166643138323334323662656464383733343332
39356166396363383064653931343864613464346136346131396136643438396532613131306435
33383438653935653930313363396239333561623762313065333133656630363661393930366232
64366330373435326436373865616264333761393561393534636661636135386339303565653564
65343331633739343435623238633935373562316266326330646362613430393234643435336265
32376139373264383137633530656563373232393465346462303333333366653731326133653132
66663637663032643564336636626432373937643332353238303336313430666364316639303533
36363737623633396232366437373031313864353937366539316531353661303366616334343238
31393063626464373332396438303065623566623361643464653831633235346633353439646266
33623735396665363831643762343862393232626165666331383832376663613531313262643137
34353039666336326236633866623166633935643238623562666434343538393763633639396466
39636233363661613834636161356165613836346263353061623933393932363437653062616463
39383831383739666530303130333763323639666161323931643861613632313865623763323762
62626266306437333361333830333564316363656262343137626362346333386165356630633763
33346430666165393930363230393631666439356361623538636433393031323961316565666330
66333838353636343563646664363330656330353933313230353733383037343437623837316236
37653661313264353737616631393063353361616339633764316564353565623161363165303037
31326165323932613163356633393261353066313837663833323166323036636634373136343765
30373130363335663562326165656635616332616234646531306230383837623231316635613364
37336330373166393465303932383464393762663262623964646531653066386233373139326631
66383832643938376466616237346330663331353762626130366538663965386666633931626332
63363264316133343936613763353230376639313162646438663462336635303563626162366533
34323537356536623933383366613038646261363463303539353565346661626533333830336361
65646361323033643361623131336235353636373430306633383130366637383163613633333131
32383338653466386436643332383936643130636232393764656666346134616461366639663933
37623065343435666437313435326339383961313333386666396138343234343361363134323534
33663134373538623935373231373939643235653461656662363364343266396465353166636665
63366333616431323836313134356532633863656337666438343630306535363364623963316566
63623961373062633834636636323762386633383765356532636231316335643030383931613634
61333666383666613961626465393739366334623266656537623332656538393337353666303030
31306237353338643338626361376462343366363237656333373264663937663861633436303865
63636536646235366137633963363332323764636533363631376136343861343663313636363630
35333462393330336638613031383639313933653030643963613361646132383032656161303234
65653238396630303838363536373530626639363265343838323332636330366637613264656430
32323561303838306539376539313832336535366263396633643238393963623561353661363733
32353263396333306631396537663039616162646131303666643763613632353965363764653632
36663238663439353239646530383665636638623362366332333664653139323466393735343361
31626431313166633737333266383765613561313733646563393362396134393337393761316265
34666638663463366637643431663566396363346134313738656334613065656664663338616433
34326536393933353932343466313530363865613134616334366136373662333238313562333663
37333765383539323930316135643962336162313862646638386465343739306131313933663730
61386139383932393663326361653835613363386635616135653532306538373331636437313864
34666133623264613865326135346365386135363430323661636166333738353031393366326231
35303639376330336139306238633731613663666239663433353263363464366436353036623437
33363533643933336366383538626334636264663134313537346163363539623463633333653765
36626661353035353933313963623632633466313063363161366633386462323131366639303030
33653834313066363734303736333233326639643837303861646266383036313238396164373530
61646666316331633662646262353266326536656561383032333336333434373339303266343964
34643063643839613165316632613439623834346364613766306231363638346661313961616534
38343032383138616639333033396337363233393433333266336532386164653231383236343932
62373836656532356636306135356531386533313239626436396363356438353333656662373165
37383439373034363435336630306662626534303534396564366431393063346533646431663161
65613330376535643830323136643739386137383334366631333663376264373034383238343861
31323933646533633366343430636262383738356333363433616364336661383463653339353236
34376263363739353034303364386266333365626336376162613039373935366461393539653961
33663562373732336536363435323032373062366230393336326237326638373535336635333731
36333063613239393536613036353734383736313638326664316131326161366336383462623466
63643766313263646565336333356561393234303731373635623365353138613430373162333465
39633962653833633234363564663961376134323738363363336237303533643436623835626333
62353934373239653031636136316261633430326261393736386464373839393035343936386661
66623833663936616463653337623464343764363430626461653730646364613338626262313363
63623534353038643766326639653337633737363163613662353832306565623434636465363262
63396364306533333837636466386138336536306533656364653362313232653762653866663766
64386230316135623438393334636563396565336433303461646337316431303565386634346565
36626264323563353837663264343239623139373261383762613735313737633934633166396335
39636334356666633864316233393039343966363062376165636239633162616631383130316565
39626139386233333136323261343466663038393063356235616637663261613634653733663336
66653930313039633563323563366633613661626134383566376530646631333834373865643138
64306562333363626133366561393331663461373833616364363665663937353561653962376339
65623563393130346535633234343638353963663834613562363834363064363239653335643939
34353736626165663632313636646239313464616161313861393232663839663865666538383764
32613139646666353231633832633432663865336637613464346664363730623266343166316238
65326330343464383034316533656530643563326662396662303632393063383233386264346662
31306261613761306535666462373735366661323039666436393961613061356162343061636235
32323734313234396232623631636431623930633035633730643032626230623136383965313636
33626131626435663764313231303831396361333634623137616536383430636664353565383739
30373764333236643062396263333531386663376439356262393165633266366662333339333033
65313461616633303365653337336230623332373434663238383536316164633735623763356437
31623038326266373464336462333332396162333734333630353130663631353236343839616631
31353064656561623564383863373435633764656366396535663739306162333465393539373637
34663031666536333737336365333737626130616566386361653265643939623363396262643237
63353031333863313766346462336430663533663334646531623237666135663364363831643931
63323062613533666335646638343737633532393631323537323331306561653632663163633836
38373932323631653566643764666234656461646538336136656537353761643061636534663163
34366566643264383436616537626462313466656162646236626639333232626366663666663234
32346662626530306263643931616439386464613531383237666666363463336562663835616235
31643464353133626535636164346632313134333163316635363066643537633639396562363939
39623664306430623865393030333665646638366266323935353035356630653933363364353332
66306165653232616530313032326235323131616438346434353833646130353531326563303034
62343865646633363337633237366135393932363739356364393331623866643739613130313232
31653664656534323639363535333364333132633634373337303965323566643934383735353030
37666661653636633161366433303462666463313133313761303933386338636333376366326363
30363164626136396661333063663734633738643065316162363835306163613439336533636464
62663337653034636461643932316164613838346430303463376233373361393661326238396237
61656337383462653332326533373962386539363232343061346666663936396237363132646438
39376336313735333039663763633162313665396434346364636664663661356639663239376430
34363965393865643861396261653766326634613861383138663037666333396564376435313033
65663165306434623135383566643834353066633938353663313635323237613364303035313864
63613138353261326531383563633832343531643264313533323335336139393535396466396165
37366333643363366263393036643332323539356434613262363135633237343339623361653839
38316333383231653161633465326133363835636665356132666430333063303233393833663639
33613036393832343363323732333466313430613833613437306331626666373530363962376437
61323065633263336335373334343563626231633838303635663733663466313336323662336365
39373637383066613631663661643732353837306563386364623531346637366266336530373937
38316566636334643365313933303063613036623836663864343865626635383161316536373535
66373866613761313533616561386633373162656432653664353532303332353334656134346638
33306138623565303463666162316462363733336663313633376437336462663837313534666639
39353333363662386261633633643065663438336666633235376462353331643936646165623539
39343362316332366565643766666133383666373732353664396538633435396662383963613231
30323564663338333764356138663866383732613137326530316538373165326265323135613266
34666437386138323964363566393361313639656436653363656235643665643533363963653336
61353431376365326633343438333263353666323836663663326562643264633864633939303435
61636539346433313137613535303731663762663230363537396131323130343962373763626235
33616163616363313533393639343237383834383432656465623233386536303735353831633564
32316131623636316639623937663732383762396232623431303738626265393434363830653765
34626136633131336531386332356661376532646136653134313862653934663831303334623263
33666635343864303833303231366665353031313266376336666631393764633733636265326361
32326537643430346563356662313836313337363333633965323438336331346230386633376330
62356334343764613362613539343236313864343938633536313430323935343162383665633139
30613738326236366236366137663665303264323561373463616665303737393264636166353730
66633466363461643263646165363632363462353531653765393562323065356631303635383234
31353462383036356462633965656630336163333765393962333366363064613965393430613537
37303633316635326537663431383564333165633263346430626263333732396232393462613333
63306162373431356237333162363531626534376161393738346433306434363561313635393834
32626530363263316236356436356538363431623530303134633862393730333238623866383462
66353961333766623531356538646535353530663661663933303063613564356464636438623361
35396537303137646133396238386339366361646535366338313664366161303234636539346465
32613334383061393438343537323933613562636664626234396562346631666337626163366262
66376432366362303931323561626565316236353662313932326261643561306538376134616361
33316534343139366338363635383637333833643162633763353765336333366332326433653966
39333363306430303532333665313638633264313033383630343235373138313230313730373738
36653037393130333435343232343438653731323332613661383464313039343364386131366333
33303534303437393033323764303232396138326238636437313639356533386335346463653835
63306566346361393133646636616332383032666363396261353037316435376431663139656365
61356534306562646330633363643039343866393662376638373437383731363331663165316133
61333133373738663532383165636565396239393139383932653537643965343132363836363466
37643265303666623035396136363932356531333061613738333430363462646461633336333237
65396638366631303632313932353831333337316534326165666633663566353163636433343762
39306236393035346234333739393066353461646564633636363832326333336165316163393036
34623862383734366661303335613136623335643138303661336333653330386666626235386133
66343263643463333163373638326534643064306634646438386436616133616430613666616437
61376131396362643034373965353132623236313338333336393762366638313034646663306462
66623234373535646563363065346637663034643666653535373266393061646338613562353233
30616132633566663366303837393230643537666339353431343531373434633963633233343330
34393037643361326534306338616230346435616639376135633230383266353537316363653561
63636266633339366435633433303633366163303833336235323531656232306635396137323234
35613262613637646263343630323135363463376434386436376662303762333661333833653934
30343965336531373762393931666562393236396133666261363364303630363664646436623063
30316331383165303731323931653566616163643336386364343066383263636662386564336137
64376164613665323662626464633364343836393862303263373061373937623561353031393566
30316465363362326463653733303336376538303862306162386162363136303263353266313763
64646630363831323866396639633630663765356630616430616262323130613132653064666334
64363638396337326636623032623365613535376265323264616531343064323832626430643133
65376266313864383832373864616230393434363234393738366535626266623434643238336230
32333039663163366335393933643061313133303239343836313233616536653661653637663533
61306533663066613631363531373535376661306337656239396134396463383061356232383037
61343038336137363733366565326631373064386237653564336331323764353934333861303132
35633739663661396339666638333363386230303038363935376333643439643562396462323030
36393430646539323364643966336134396362613434386637353832333031663330356336366431
38343531663539346235663136643532623363343736653531336631323131303531386632373236
31373331656662623537646663346533343537383535643665363930383838623662363438663831
39646434626535303165353166343237336639626465643537613038643332663236366262373836
33613733386533343837376638343936376238313134373363663432633733633735386131333664
39366634356633623832653039366164393539623937643464376566666166356538383933313533
61306263643330333239356231393436346131393163333238646630373166366662663063343436
66336436336166323665326564343033343664336632343936623537336531643631663534633331
30613634353264356236386638633238353264336264616665663864376265353862396261343430
64373830623535353665633763623461663963336562313161383332616631376331326533616236
61323463326138363532363534316333346266303061616532316437323663656462633362323037
32333232393632636261346133376135323133333638643964656161356532633562353332303465
36333765643834386135656631363538613238663038396239393336323061653337666333643738
65653533316134373963353330346337623933356130613035313137353561386331663366376364
38653031383263663738353634643737343730613736633062346537646131613234656462623037
35353664366465386630353961633738383433303332343265323331643138343736386462663937
32336135313864613632386630373162333664636632323334336635386537646237663631636338
36336264666239653839306532303133333837613365633561626539303062653132313464646564
64363764306633386233383636376564373863326431653138336262633930306436363434363139
62613633333332303431646533653832386432366263623735653930373933343235393064376139
32376237666264613565353831386564333235326631363664653766393765636632643830623133
31366562373537643031363831333166373135316337373361663137656639626533366236643231
33643539323034643461326130333566373436353636383366653162333135643332356337383262
65316663363333633932383765363239393762393666646433343361333735633133393163316365
61346633316638613539393062623136323564663832313130383365653437393730666163386439
66666637343164383630363364646137343164346537633163326161306435623263353966646534
65396463646561383431386664636366643036613630363032666636346333653066336133626534
37306538323035643063656465346662663338353132633231333861323431613065613538326139
32623731343762616133323337363562393132333338316537666636333362346337346161363964
66333333653264363465646132313639343833316330663433303863363939653463326530346234
32646631316539383036313961393038663934376261663533623562303362633065643564613936
31356165373731656137316164343838396234346539323064346564343961366537336435616565
34646164393263366635303032363439363230656231656663343362363664393935323862633664
38663261353964303836336133383636373534336232336131393233373832383738656461353335
66396130336436643031303134666537663431363933326530656361613731346365643037663330
61616537346163393531323862303439663038336133643862653236333863386130663038323236
30633365633838656261356161633130656663326238333531303037633963356637633336393338
62366461646634326363363137613532633565313563353832626666646633643830323165653961
66393562383765653837346138313330353166393862633862643039373461346364623730313162
66663933373563346534613933656462303532613633613866656539376233363837636334613861
38313731663738303264383839663161303438643462356532393338313537663863623961653631
34383538366535323832303033343031666263616432616536623533613930386637633333613065
39353765653233653933656266623030356461336464616433633366626362313938393533363036
62663638376339326635353335386566653631353364336664333633383261366537386564326532
37376339626565353835373333663337396661626332323165306331366264633635633635343961
33633831343939336366393264323732633339643732363332363235636133633037656233323530
64663239323634373062623436623934353434336564363563653061343833316435373534376435
65653733363934613065613939646562636632643236616339616235343134326162333265383538
35343532316130346638633632336239653938346235376633633038393363396237353764663832
63646265613766373234383231303739373964666635383665313065313761386166656265633836
65306635613032363030393233333232313130626338643736633635393639373661663539616333
34396536386662323130356165336365653239386666636435663862323532393432336634613362
30343035663466663337623464303136643833376561336432323765653664613963353961353430
39363562363830373534343163303336633539643832343066303630626365393235363332366330
37663037303063653737386339623735626534663561393935343336386566613030363463653261
34373533326563656165636363333137393536393733653365316536646564383162373866633938
30323666326662346462336637663461313831306636393438646131386561336536376338656434
66366535396134303336653065346233313862376366393263623466613934373265623566336362
36643964636138663631393831636333353832343738383033396533373835356166616436623364
63306463383435363237306261353434333537343634656138613366643438323034363261356430
36306664393330303633346532363466393163613439303337633633336466323836343337373334
64633231373461396239343032343835383364653934333762303363383062643366313463653037
31626235316634356433366637633038643536373335386666366439333632373433363163656132
38366264343962653035373563623433666264323530326361316136376364326334356535343933
37623131303164376239313537616162653234333037663663613432373761323537386234336266
63376666383363633566623333386265316431386134316637643036313739626234613063323136
39653064346538636166616631656630333536616432643061316336613338333961323465383731
39666561396333303766646463303764653238373031633330336365663731663334363039343437
38306663626364633462666336386239343833306565613934303334353930613730356466643836
39643135383039313235343632323861363361643562353761366262633634363663613164326632
65396265666436333761613766626435656538353732363034323066616639346633626534393939
38323533636438313936396533643236356564653535383036613238616138643462343066306339
36633838353431306263323634336539393131376436666663323633653131623333323239383538
38623433623535626239636565323531356536663466646665616237356237616364633566326532
62393738366464353761356363376363653531376433333535323265643933613834663533366364
39643230376235653461643864343062343238326562323066663164306365653038646165633938
39663231386162323363396265363064613664353232313363346234383533656533323962376565
63313933356639336334666161333434363563613937383631373936666163646564326462336433
33636332346562396563633830623033336532346363323333633566643433663431383130663437
62653431383134376337326235313265343164383931643665376136666137653761656531616665
39356634353265666165636662396634613632313139666633353935373665373535353039633835
36393766313837646563613963653561343066363162633134623336646362393735666338356232
31613533363365326164346632323835643065656233653766396566373262353430323137643934
34613361396439326266373330393935633361356364396633383063386332653234366639333631
31313937396538326331353135373539643635643461303561393564303932313761636565383334
35373738616262666136306562393737316138356433656164396437326635393632666333353564
35353538646630396632396230633231666332306264326437393136393262303037623862326164
66656664643433643835316130316133656130353665326438666364386237623530333837666138
35353630393835646461646135333465646534633638373066366433326635346565306535363964
36386537353630303834333935343864326461623166643938663035343333613630396164316234
61653130303462663461333864346430356263323234663036336239313532646135383830646164
37383530646632343062326264613335633065373234373735353838373236333661356337653662
66323761346533613264636461623839343533326365613835643463313734626266666231303962
66346132363939626638613235343433353565383334663734343462613163363739636436336631
65383262613436343066326534316537303234313433323633396136353930656166653966636361
38653264653233393662613063386535336538653836333861313736633532633835393363383931
30363635643933393366353864393062323831383536373931653039393639353263326232356133
61383334653539616162653533663832633137326265633334373337313630336439383633306630
38383539376532363230316535353539646633353737333766323462643761373335613663623862
34383730663132393266333733363162393963646137643531646432306432633030316232373931
33313866346138383139383232383463643032396662666439643939623631353034353733343931
38303863386439616438323534633635623064313563353137663865613332373231656537336631
37623032633936333836383533353232393362373737393662663835636164376639366433383362
36353735373733383633393165343038663437636536343561343064383265356362383361396262
31306632643864623632363333636434616362363061316163646666356337643534313630353336
30666438613566323732643339303232663962636230356236353061363735623539313432633964
35313936383763333838313861393630336431636431303934653332396338643061636132393461
63613836393365333964333766656439376161383866323265646133656330396261626636343763
37653734613638366461663031313931333732366163616464333061383462336465303333363439
39636433346438316536386664363238363537646464643066366132373035663833646431653034
65346439346231326231666665393665313238343739313034626635616666363966353362313664
62373935393336646462303230633734326234656565656634383862633037333161633637326461
37353031396566353039326431353761313331646663613666326334636638663061663762663538
62613335356165363964313134376638663235616434333765643164363238623730623661633932
63313833366333666365386231313331666561643437396533333931396163343465323730333533
35393635333831666665363764333034623764663536373736306365386132636565373436613236
65346537303865316364336662303561353032366466313536613535656661633235346165333938
34356333356338663564366133653233366333326638343130343866643134363264393565636333
35363661653730323633663062643538383034653564623435303638343462373334636163366561
63393835393532316265396162626138613430643333643162373231613735643434656664626133
66316661393935656239633837633062303264323235383331303564326139663633643430643939
62336438626535383731333234653437653437303438633531363238613231373232366138346661
38343763353364613031383565646638653062633636333738353135393266623866653863366364
63366163666532326166633664643163616439373263666334303733376264313661373037653863
64333130646438323637376263653562656533313435636638303835303435306533613664323866
38333936613337393439333432353031306130383535303932306334666665353135343336333861
31633063323838626436333733336561653435616462653535313733616362396534623531386131
36313337353739303439306437326133393033383666643365373734656433666635636534356362
34616465303235653236313839666534373264633462633430333639623637363063633561363837
39326131643036323364313236616635396639333563386533383962613762633639306564376235
37363334623063646333376231306230633866393736623262303536636638636362323261623034
64363836373437366438366237346137343065306137616534666566623664626531336134323135
35356561623162636332613732373133306133643536396338373933626633623264353665333830
32383762626436646638333065313437623438336639616532623566303931613862343963326131
38653534613237346538393032383263356639666463383636313935356230386439316666666436
34663638303137613835613065633435636638653638353063663537626362323639303863646634
31346664653164383735343638386365326161316165613335633762356266393032393132383237
35336164353034623964316336643063643266323838343839353538383934663939626430366464
30313665316536316133613866343831316636636630633434616136326230376233306230326235
39613364383237346466336663346636306632643736383063333536343739356537323335346336
38313430306539643362663731306665303662396232346637306662383238393237356164313864
33346530643864343363663032656561353364343431636438353439303062326635363734623930
34626633323638626463336332356262396237373230386434373063353031343161623066356166
61316338366565663263353632663963326130653965616162393835353831343563646630386561
65636338656631666334633263346235303938353635333332343635383233656635636261383134
36316531656332353936373238383030613062323938663064303732346537613466613037316239
38316232653034336631633437373464386662616265353561353633623737353261366631386261
37336663656265376461356137366666643366313430616564313038396137663335616535323834
34383765643639376333623465333838303733366339346434313864336535613732343162316534
33626231636236373261643837383165643264323935626637633736393832306334636534643166
62333763653137633364663532346664613763363933333739316337303736396365383766666136
62616332356263376664626630346134333733663438353931396266363666636563656466336432
61353534306236313165653830316235336365313430306338656331396634363436646231663636
65353339666630323363643735626531353361623435663431633135346330636362323731643633
33336433656532356639316561636338323935346264626536376566373063663738393665643935
30366532383361333536333030396535316439616561336262643034643631626639666234353961
61363161346133336237323634313233656633336437616639326435633537366535363663363030
33653835316431343463313435316337346266356639316163393761396536666634373439623936
396165373338313334373032633531646533

213
files/user_variables.yml Normal file
View File

@@ -0,0 +1,213 @@
---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###
### This file contains commonly used overrides for convenience. Please inspect
### the defaults for each role to find additional override options.
###
## Debug and Verbose options.
debug: false
## Set the service setup host
# The default is to use localhost (the deploy host where ansible runs),
# but any other host can be used. If using an alternative host with all
# required libraries in a venv (eg: the utility container) then the
# python interpreter needs to be set. If it is not, the default is to
# the system python interpreter.
# If you wish to use the first utility container in the inventory for
# all service setup tasks, uncomment the following.
#
#openstack_service_setup_host: "{{ groups['utility_all'][0] }}"
#openstack_service_setup_host_python_interpreter: "/openstack/venvs/utility-{{ openstack_release }}/bin/python"
## Installation method for OpenStack services
# Default option (source) is to install the OpenStack services using PIP
# packages. An alternative method (distro) is to use the distribution cloud
# repositories to install OpenStack using distribution packages
install_method: source
## Common Glance Overrides
# Set glance_default_store to "swift" if using Cloud Files backend
# or "rbd" if using ceph backend; the latter will trigger ceph to get
# installed on glance. If using a file store, a shared file store is
# recommended. See the OpenStack-Ansible install guide and the OpenStack
# documentation for more details.
# Note that "swift" is automatically set as the default back-end if there
# are any swift hosts in the environment. Use this setting to override
# this automation if you wish for a different default back-end.
# glance_default_store: file
## Ceph pool name for Glance to use
# glance_rbd_store_pool: images
# glance_rbd_store_chunk_size: 8
## Common Nova Overrides
# When nova_libvirt_images_rbd_pool is defined, ceph will be installed on nova
# hosts.
# nova_libvirt_images_rbd_pool: vms
# If you wish to change the dhcp_domain configured for both nova and neutron
# dhcp_domain: openstacklocal
## Common Glance Overrides when using a Swift back-end
# By default when 'glance_default_store' is set to 'swift' the playbooks will
# expect to use the Swift back-end that is configured in the same inventory.
# If the Swift back-end is not in the same inventory (ie it is already setup
# through some other means) then these settings should be used.
#
# NOTE: Ensure that the auth version matches your authentication endpoint.
#
# NOTE: If the password for glance_swift_store_key contains a dollar sign ($),
# it must be escaped with an additional dollar sign ($$), not a backslash. For
# example, a password of "super$ecure" would need to be entered as
# "super$$ecure" below. See Launchpad Bug #1259729 for more details.
#
# glance_swift_store_auth_version: 3
# glance_swift_store_auth_address: "https://some.auth.url.com"
# glance_swift_store_user: "OPENSTACK_TENANT_ID:OPENSTACK_USER_NAME"
# glance_swift_store_key: "OPENSTACK_USER_PASSWORD"
# glance_swift_store_container: "NAME_OF_SWIFT_CONTAINER"
# glance_swift_store_region: "NAME_OF_REGION"
## Common Ceph Overrides
# ceph_mons:
# - 10.16.5.40
# - 10.16.5.41
# - 10.16.5.42
## Custom Ceph Configuration File (ceph.conf)
# By default, your deployment host will connect to one of the mons defined above to
# obtain a copy of your cluster's ceph.conf. If you prefer, uncomment ceph_conf_file
# and customise to avoid ceph.conf being copied from a mon.
# ceph_conf_file: |
# [global]
# fsid = 00000000-1111-2222-3333-444444444444
# mon_initial_members = mon1.example.local,mon2.example.local,mon3.example.local
# mon_host = 10.16.5.40,10.16.5.41,10.16.5.42
# # optionally, you can use this construct to avoid defining this list twice:
# # mon_host = {{ ceph_mons|join(',') }}
# auth_cluster_required = cephx
# auth_service_required = cephx
# By default, openstack-ansible configures all OpenStack services to talk to
# RabbitMQ over encrypted connections on port 5671. To opt-out of this default,
# set the rabbitmq_use_ssl variable to 'false'. The default setting of 'true'
# is highly recommended for securing the contents of RabbitMQ messages.
# rabbitmq_use_ssl: false
# RabbitMQ management plugin is enabled by default, the guest user has been
# removed for security reasons and a new userid 'monitoring' has been created
# with the 'monitoring' user tag. In order to modify the userid, uncomment the
# following and change 'monitoring' to your userid of choice.
# rabbitmq_monitoring_userid: monitoring
## Additional pinning generator that will allow for more packages to be pinned as you see fit.
## All pins allow for package and versions to be defined. Be careful using this as versions
## are always subject to change and updates regarding security will become your problem from this
## point on. Pinning can be done based on a package version, release, or origin. Use "*" in the
## package name to indicate that you want to pin all package to a particular constraint.
# apt_pinned_packages:
# - { package: "lxc", version: "1.0.7-0ubuntu0.1" }
# - { package: "libvirt-bin", version: "1.2.2-0ubuntu13.1.9" }
# - { package: "rabbitmq-server", origin: "www.rabbitmq.com" }
# - { package: "*", release: "MariaDB" }
## Environment variable settings
# This allows users to specify the additional environment variables to be set
# which is useful in setting where you working behind a proxy. If working behind
# a proxy It's important to always specify the scheme as "http://". This is what
# the underlying python libraries will handle best. This proxy information will be
# placed both on the hosts and inside the containers.
## Example environment variable setup:
## This is used by apt-cacher-ng to download apt packages:
# proxy_env_url: http://username:pa$$w0rd@10.10.10.9:9000/
## (1) This sets up a permanent environment, used during and after deployment:
# no_proxy_env: "localhost,127.0.0.1,{{ internal_lb_vip_address }},{{ external_lb_vip_address }},{% for host in groups['all_containers'] %}{{ hostvars[host]['management_address'] }}{% if not loop.last %},{% endif %}{% endfor %}"
# global_environment_variables:
# HTTP_PROXY: "{{ proxy_env_url }}"
# HTTPS_PROXY: "{{ proxy_env_url }}"
# NO_PROXY: "{{ no_proxy_env }}"
# http_proxy: "{{ proxy_env_url }}"
# https_proxy: "{{ proxy_env_url }}"
# no_proxy: "{{ no_proxy_env }}"
#
## (2) This is applied only during deployment, nothing is left after deployment is complete:
# deployment_environment_variables:
# http_proxy: "{{ proxy_env_url }}"
# https_proxy: "{{ proxy_env_url }}"
# no_proxy: "localhost,127.0.0.1,{{ internal_lb_vip_address }},{{ external_lb_vip_address }},{% for host in groups['keystone_all'] %}{{ hostvars[host]['management_address'] }}{% if not loop.last %},{% endif %}{% endfor %}"
## SSH connection wait time
# If an increased delay for the ssh connection check is desired,
# uncomment this variable and set it appropriately.
#ssh_delay: 5
## HAProxy and keepalived
# All the previous variables are used inside a var, in the group vars.
# You can override the current keepalived definition (see
# group_vars/all/keepalived.yml) in your user space if necessary.
#
# Uncomment this to disable keepalived installation (cf. documentation)
# haproxy_use_keepalived: False
#
# HAProxy Keepalived configuration (cf. documentation)
# Make sure that this is set correctly according to the CIDR used for your
# internal and external addresses.
# If you've set external_lb_vip_address or internal_lb_vip_address to FQDN
# you must set these variables to the corresponding CIDRs for your setup.
# haproxy_keepalived_external_vip_cidr: "{{external_lb_vip_address}}/32"
# haproxy_keepalived_internal_vip_cidr: "{{internal_lb_vip_address}}/32"
# haproxy_keepalived_external_interface:
# haproxy_keepalived_internal_interface:
# Defines the default VRRP id used for keepalived with haproxy.
# Overwrite it to your value to make sure you don't overlap
# with existing VRRPs id on your network. Default is 10 for the external and 11 for the
# internal VRRPs
# haproxy_keepalived_external_virtual_router_id:
# haproxy_keepalived_internal_virtual_router_id:
# Defines the VRRP master/backup priority. Defaults respectively to 100 and 20
# haproxy_keepalived_priority_master:
# haproxy_keepalived_priority_backup:
# Keepalived default IP address used to check its alive status (IPv4 only)
# keepalived_external_ping_address: "193.0.14.129"
# keepalived_internal_ping_address: "193.0.14.129"
## OpenStack public endpoint protocol
openstack_service_publicuri_proto: http
repo_server_systemd_mounts:
- what: "172.29.244.2:/mnt/HDD2TB/osp_repo"
where: "/var/www/repo"
type: nfs
state: 'started'
enabled: true
openstack_repo_server_enable_glusterfs: false
# Ensure the openvswitch kernel module is loaded
openstack_host_specific_kernel_modules:
- name: "openvswitch"
pattern: "CONFIG_OPENVSWITCH"

11
inventory/devstack.yml Normal file
View File

@@ -0,0 +1,11 @@
---
all:
vars:
ansible_user: ptoal
control:
hosts:
infra1.osp.toal.ca:
compute:
hosts:
compute1.osp.toal.ca:

View File

@@ -0,0 +1,2 @@
---
openstack_ansible_version: stable/2023.1

View File

@@ -0,0 +1,19 @@
---
install_packages:
- iputils
- lsof
- openssh-server
- sudo
- tcpdump
- python3
- curl
- rdo-openvswitch
- NetworkManager-ovs
- centos-release-kmods # For be2net driver
neutron_provider_networks:
network_types: "geneve"
network_geneve_ranges: "1:1000"
network_vlan_ranges: "public:700:899"
network_mappings: "public:br-publicnet"
network_interface_mappings: "br-publicnet:bond1"

View File

@@ -0,0 +1,36 @@
install_packages:
- git
- python3-devel
- chrony
- openssh-server
- sudo
- curl
- NetworkManager-ovs
- '@Development tools'
openssh_private_key: !vault |
$ANSIBLE_VAULT;1.2;AES256;toallab
39373963303939666134366165616337386636326430626461656362346561386437616435613634
6462383561663735626565623737336539626635303139340a633432366361646263643833653034
63316133613639333262303561643563303235323862363237363838373762643933316632303732
6633383761623339620a393639383732643134663035323366323739343732623163383130373338
66376363623063393564323662373466333363393161373663393563383232613137653039326265
38313038356639383733366530386536646236333130663363663733613063613938613037663534
37346236633934346337653665643132396332616239356131356365333265333266653665363765
30626534613063383766613766336662313834353563376237323234393439353836323033616636
35386633643236393539316331343663326237316230343834343432616366613663643239306535
61646538343336633932316637356463666432643534643136623635613664663565396638333535
33303062303066343865343764346432353264393338626163326538376264626136303562386631
31356137383562653966363334343030393635636338613735333838343233313461636230313661
34643430366666623165323730643335353763646165353035353564346239373731373966373431
36323564313032613335303765646166366561326536353033653163626365356636626664363736
38313862336235303435383135343434653635346666316136323237613366663538306239333263
33323432326532623434646666396636316265653130316439336366636334366161363065663038
35623536366661396134386164336235633066633531363363616638393666616635383036643636
37326435393737313630653535386464343431356563386334643232336262373537333263386363
37383664333666616364363361323336633538643432663037353735633632623762343034343335
61613464316537633065343838346164333664343462626463633162613363343266643937663464
65366434353437303234633830636566343730303966366433663831336564643932646139333434
61333337613131396263646466623739303634323361663630333832353534353435373130616534
34346638353631343730653736316262393438633863346334616465336562653132373930393132
33653430323061653265373235633435643065643834643532643962386334366332633165613737
6336

View File

@@ -0,0 +1,105 @@
---
network_state:
dns-resolver:
config:
server:
- 172.29.236.1
search: []
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: br-mgmt
next-hop-address: 172.29.236.1
metric: 400
table-id: 254
interfaces:
- name: enp3s0f0
type: ethernet
state: up
mtu: 9000
ipv4:
enabled: false
dhcp: false
- name: ens2f1
type: ethernet
state: up
mtu: 9000
ipv4:
enabled: false
dhcp: false
ipv6:
enabled: false
dhcp: false
autoconf: false
- name: ens2f1.240
type: vlan
state: up
mtu: 9000
ipv4:
enabled: false
dhcp: false
vlan:
base-iface: ens2f1
id: 240
protocol: 802.1q
- name: ens2f1.244
type: vlan
state: up
mtu: 9000
ipv4:
enabled: false
dhcp: false
vlan:
base-iface: ens2f1
id: 244
protocol: 802.1q
- name: br-mgmt
type: linux-bridge
state: up
bridge:
port:
- name: enp3s0f0
ipv4:
enabled: true
dhcp: false
address:
- ip: 172.29.236.12
prefix-length: 22
ipv6:
enabled: true
dhcp: false
autoconf: false
- name: br-tunnel
type: linux-bridge
mtu: 9000
state: up
bridge:
port:
- name: ens2f1.240
ipv4:
enabled: true
dhcp: false
address:
- ip: 172.29.240.12
prefix-length: 22
ipv6:
enabled: true
dhcp: false
autoconf: false
- name: br-storage
type: linux-bridge
state: up
mtu: 9000
bridge:
port:
- name: ens2f1.244
ipv4:
enabled: true
dhcp: false
address:
- ip: 172.29.244.12
prefix-length: 22
ipv6:
enabled: true
dhcp: false
autoconf: false

View File

@@ -0,0 +1,98 @@
---
network_state:
dns-resolver:
config:
server:
- 172.29.236.1
search: []
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: br-mgmt
next-hop-address: 172.29.236.1
metric: 400
table-id: 254
interfaces:
- name: ens3
type: ethernet
state: up
mtu: 9000
ipv4:
enabled: false
dhcp: false
ipv6:
enabled: false
dhcp: false
autoconf: false
# lldp:
# enabled: true
- name: ens3.240
type: vlan
state: up
mtu: 9000
ipv4:
enabled: false
dhcp: false
vlan:
base-iface: ens3
id: 240
protocol: 802.1q
- name: ens5
type: ethernet
state: up
mtu: 9000
ipv4:
enabled: false
dhcp: false
- name: br-mgmt
type: linux-bridge
state: up
bridge:
port:
- name: ens4
ipv4:
enabled: true
dhcp: false
address:
- ip: 172.29.236.11
prefix-length: 22
- ip: 172.29.236.10
prefix-length: 22
ipv6:
enabled: true
dhcp: false
autoconf: false
- name: br-tunnel
type: linux-bridge
mtu: 9000
state: up
bridge:
port:
- name: ens3.240
ipv4:
enabled: true
dhcp: false
address:
- ip: 172.29.240.11
prefix-length: 22
ipv6:
enabled: true
dhcp: false
autoconf: false
- name: br-storage
type: linux-bridge
state: up
mtu: 9000
bridge:
port:
- name: ens5
ipv4:
enabled: true
dhcp: false
address:
- ip: 172.29.244.11
prefix-length: 22
ipv6:
enabled: true
dhcp: false
autoconf: false