Add MTU configuration and update for new layout

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:20 -04:00
parent c46dae8852
commit f1cca0e22f
2 changed files with 15 additions and 8 deletions

View File

@ -48,14 +48,17 @@ pvc_routers:
- "{{ blsecluster_pvc_upstreamsubnetsnip }}.2" - "{{ blsecluster_pvc_upstreamsubnetsnip }}.2"
- "{{ blsecluster_pvc_upstreamsubnetsnip }}.3" - "{{ blsecluster_pvc_upstreamsubnetsnip }}.3"
pvc_cluster_device: "bond0" pvc_cluster_device: "bond0"
pvc_cluster_mtu: "1500"
pvc_cluster_domain: "{{ blsedomains_pvc_clusterdomain }}" pvc_cluster_domain: "{{ blsedomains_pvc_clusterdomain }}"
pvc_cluster_subnet: "{{ blsecluster_pvc_clustersubnetv4 }}" pvc_cluster_subnet: "{{ blsecluster_pvc_clustersubnetv4 }}"
pvc_cluster_floatingip: "{{ blsecluster_pvc_clustersubnetsnip }}.252/24" pvc_cluster_floatingip: "{{ blsecluster_pvc_clustersubnetsnip }}.252/24"
pvc_storage_device: "vlan99" pvc_storage_device: "vlan99"
pvc_storage_mtu: "1500"
pvc_storage_domain: "{{ blsedomains_pvc_storagedomain }}" pvc_storage_domain: "{{ blsedomains_pvc_storagedomain }}"
pvc_storage_subnet: "{{ blsecluster_pvc_storagesubnetv4 }}" pvc_storage_subnet: "{{ blsecluster_pvc_storagesubnetv4 }}"
pvc_storage_floatingip: "{{ blsecluster_pvc_storagesubnetsnip }}.252/24" pvc_storage_floatingip: "{{ blsecluster_pvc_storagesubnetsnip }}.252/24"
pvc_upstream_device: "vlan100" pvc_upstream_device: "vlan100"
pvc_upstream_mtu: "1500"
pvc_upstream_domain: "{{ blsedomains_pvc_upstreamdomain }}" pvc_upstream_domain: "{{ blsedomains_pvc_upstreamdomain }}"
pvc_upstream_subnet: "{{ blsecluster_pvc_upstreamsubnetv4 }}" pvc_upstream_subnet: "{{ blsecluster_pvc_upstreamsubnetv4 }}"
pvc_upstream_floatingip: "{{ blsecluster_pvc_upstreamsubnetsnip }}.252/24" pvc_upstream_floatingip: "{{ blsecluster_pvc_upstreamsubnetsnip }}.252/24"

View File

@ -63,14 +63,18 @@ pvc:
stdout_logging: True stdout_logging: True
console_log_lines: 1000 console_log_lines: 1000
networking: networking:
devices: cluster:
cluster: {{ pvc_cluster_device }} device: {{ pvc_cluster_device }}
storage: {{ pvc_storage_device }} mtu: {{ pvc_cluster_mtu }}
upstream: {{ pvc_upstream_device }} address: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.cluster_ip }}/{{ node.cluster_cidr }}{% endfor %}
addresses:
cluster: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.cluster_ip }}/{{ node.cluster_cidr }}{% endfor %}
storage: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.storage_ip }}/{{ node.storage_cidr }}{% endfor %} storage:
device: {{ pvc_storage_device }}
mtu: {{ pvc_storage_mtu }}
address: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.storage_ip }}/{{ node.storage_cidr }}{% endfor %}
upstream: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.upstream_ip }}/{{ node.upstream_cidr }}{% endfor %} upstream:
device: {{ pvc_upstream_device }}
mtu: {{ pvc_upstream_mtu }}
address: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.upstream_ip }}/{{ node.upstream_cidr }}{% endfor %}