차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
| redhat_openstack_16.1_installation [2022/02/08 06:37] – [compute.yaml] koov | redhat_openstack_16.1_installation [2022/02/08 12:47] (현재) – [deploy.sh] koov | ||
|---|---|---|---|
| 줄 23: | 줄 23: | ||
| -e / | -e / | ||
| --ntp-server 192.168.10.1 \ | --ntp-server 192.168.10.1 \ | ||
| + | --libvirt-type kvm \ | ||
| --log-file / | --log-file / | ||
| </ | </ | ||
| 줄 32: | 줄 33: | ||
| #!/bin/bash | #!/bin/bash | ||
| cd / | cd / | ||
| - | ./ | + | ./ |
| </ | </ | ||
| </ | </ | ||
| 줄 726: | 줄 727: | ||
| ######################################################################### | ######################################################################### | ||
| resources: | resources: | ||
| + | |||
| + | MinViableMtu: | ||
| + | # This resource resolves the minimum viable MTU for interfaces, bonds and | ||
| + | # bridges that carry multiple VLANs. Each VLAN may have different MTU. The | ||
| + | # bridge, bond or interface must have an MTU to allow the VLAN with the | ||
| + | # largest MTU. | ||
| + | type: OS:: | ||
| + | properties: | ||
| + | type: number | ||
| + | value: | ||
| + | yaql: | ||
| + | expression: $.data.max() | ||
| + | data: | ||
| + | - {get_param: ControlPlaneMtu} | ||
| + | - {get_param: StorageMtu} | ||
| + | - {get_param: InternalApiMtu} | ||
| + | - {get_param: TenantMtu} | ||
| + | |||
| OsNetConfigImpl: | OsNetConfigImpl: | ||
| type: OS:: | type: OS:: | ||
| 줄 980: | 줄 999: | ||
| description: | description: | ||
| type: comma_delimited_list | type: comma_delimited_list | ||
| + | ######################################################################### | ||
| resources: | resources: | ||
| - | OsNetConfigImpl: | + | |
| - | type: OS::Heat::SoftwareConfig | + | MinViableMtu: |
| + | # This resource resolves the minimum viable MTU for interfaces, bonds and | ||
| + | # bridges that carry multiple VLANs. Each VLAN may have different MTU. The | ||
| + | # bridge, bond or interface must have an MTU to allow the VLAN with the | ||
| + | # largest MTU. | ||
| + | type: OS::Heat::Value | ||
| properties: | properties: | ||
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | get_file: ../ | + | |
| - | | + | |
| - | | + | - {get_param: StorageMtu} |
| - | | + | - {get_param: InternalApiMtu} |
| + | - {get_param: TenantMtu} | ||
| - | ############## | ||
| - | - type: interface | ||
| - | name: nic1 | ||
| - | mtu: | ||
| - | get_param: ControlPlaneMtu | ||
| - | use_dhcp: false | ||
| - | dns_servers: | ||
| - | get_param: DnsServers | ||
| - | domain: | ||
| - | get_param: DnsSearchDomains | ||
| - | addresses: | ||
| - | - ip_netmask: | ||
| - | list_join: | ||
| - | - / | ||
| - | - - get_param: ControlPlaneIp | ||
| - | - get_param: ControlPlaneSubnetCidr | ||
| - | routes: | ||
| - | list_concat_unique: | ||
| - | - get_param: ControlPlaneStaticRoutes | ||
| - | - - default: true | ||
| - | next_hop: | ||
| - | get_param: ControlPlaneDefaultRoute | ||
| - | |||
| - | ############## | ||
| - | - type: ovs_bridge | ||
| - | name: br-local | ||
| - | dns_server: | ||
| - | get_param: DnsServers | ||
| - | use_dhcp: false | ||
| - | |||
| - | members: | ||
| - | ################ | ||
| - | - type: interface | ||
| - | name: nic2 | ||
| - | mtu: | ||
| - | get_attr: [MinViableMtu, | ||
| - | # force the MAC address of the bridge to this interface | ||
| - | primary: true | ||
| - | ################ | ||
| - | - type: vlan | ||
| - | mtu: | ||
| - | get_param: StorageMtu | ||
| - | vlan_id: | ||
| - | get_param: StorageNetworkVlanID | ||
| - | addresses: | ||
| - | - ip_netmask: | ||
| - | get_param: StorageIpSubnet | ||
| - | routes: | ||
| - | list_concat_unique: | ||
| - | - get_param: StorageInterfaceRoutes | ||
| - | ################ | ||
| - | - type: vlan | ||
| - | mtu: | ||
| - | get_param: StorageMgmtMtu | ||
| - | vlan_id: | ||
| - | get_param: StorageMgmtNetworkVlanID | ||
| - | addresses: | ||
| - | - ip_netmask: | ||
| - | get_param: StorageMgmtIpSubnet | ||
| - | routes: | ||
| - | list_concat_unique: | ||
| - | - get_param: StorageMgmtInterfaceRoutes | ||
| - | ################ | ||
| - | - type: vlan | ||
| - | mtu: | ||
| - | get_param: InternalApiMtu | ||
| - | vlan_id: | ||
| - | get_param: InternalApiNetworkVlanID | ||
| - | addresses: | ||
| - | - ip_netmask: | ||
| - | get_param: InternalApiIpSubnet | ||
| - | routes: | ||
| - | list_concat_unique: | ||
| - | - get_param: InternalApiInterfaceRoutes | ||
| - | ################ | ||
| - | - type: vlan | ||
| - | mtu: | ||
| - | get_param: TenantMtu | ||
| - | vlan_id: | ||
| - | get_param: TenantNetworkVlanID | ||
| - | addresses: | ||
| - | - ip_netmask: | ||
| - | get_param: TenantIpSubnet | ||
| - | routes: | ||
| - | list_concat_unique: | ||
| - | - get_param: TenantInterfaceRoutes | ||
| - | |||
| - | ############## | ||
| - | - type: ovs_bridge | ||
| - | name: bridge_name | ||
| - | mtu: | ||
| - | get_param: ExternalMtu | ||
| - | dns_servers: | ||
| - | get_param: DnsServers | ||
| - | use_dhcp: false | ||
| - | addresses: | ||
| - | - ip_netmask: | ||
| - | get_param: ExternalIpSubnet | ||
| - | routes: | ||
| - | list_concat_unique: | ||
| - | - get_param: ExternalInterfaceRoutes | ||
| - | - - default: true | ||
| - | next_hop: | ||
| - | get_param: ExternalInterfaceDefaultRoute | ||
| - | members: | ||
| - | - type: interface | ||
| - | name: nic3 | ||
| - | mtu: | ||
| - | get_param: ExternalMtu | ||
| - | use_dhcp: false | ||
| - | primary: true | ||
| - | ######################################################################### | ||
| - | resources: | ||
| OsNetConfigImpl: | OsNetConfigImpl: | ||
| type: OS:: | type: OS:: | ||
| 줄 1168: | 줄 1081: | ||
| list_concat_unique: | list_concat_unique: | ||
| - get_param: StorageInterfaceRoutes | - get_param: StorageInterfaceRoutes | ||
| - | ################ | ||
| - | - type: vlan | ||
| - | mtu: | ||
| - | get_param: StorageMgmtMtu | ||
| - | vlan_id: | ||
| - | get_param: StorageMgmtNetworkVlanID | ||
| - | addresses: | ||
| - | - ip_netmask: | ||
| - | get_param: StorageMgmtIpSubnet | ||
| - | routes: | ||
| - | list_concat_unique: | ||
| - | - get_param: StorageMgmtInterfaceRoutes | ||
| ################ | ################ | ||
| - type: vlan | - type: vlan | ||