10.8.7. routes
ネットワークインターフェイス、VLAN、ブリッジ、またはボンディングに適用するルートのリストを定義します。
| オプション | デフォルト | 説明 |
|---|---|---|
| ip_netmask | None | 接続先ネットワークの IP およびネットマスク |
| default | False |
このルートをデフォルトルートに設定します。 |
| next_hop | None | 接続先ネットワークに到達するのに使用するルーターの IP アドレス |
- 例 - ルート
... edpm_network_config_template: | --- {% set mtu_list = [ctlplane_mtu] %} {% for network in nodeset_networks %} {{ mtu_list.append(lookup(vars, networks_lower[network] ~ _mtu)) }} {%- endfor %} {% set min_viable_mtu = mtu_list | max %} network_config: - type: ovs_bridge name: br-tenant ... routes: {{ [ctlplane_host_routes] | flatten | unique }} ...