Add MTU configuration and update for new layout

This commit is contained in:
Joshua Boniface 2019-06-17 23:46:35 -04:00
parent 0595a1bdd1
commit c288111c2f
2 changed files with 15 additions and 8 deletions

View File

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

View File

@ -63,14 +63,18 @@ pvc:
stdout_logging: True
console_log_lines: 1000
networking:
devices:
cluster: {{ pvc_cluster_device }}
storage: {{ pvc_storage_device }}
upstream: {{ pvc_upstream_device }}
addresses:
cluster: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.cluster_ip }}/{{ node.cluster_cidr }}{% endfor %}
cluster:
device: {{ pvc_cluster_device }}
mtu: {{ pvc_cluster_mtu }}
address: {% 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 %}