tripleo-image-elements/elements/os-net-config/README.md
Dan Prince 45e8bde2e6 Use /etc/os-net-config/element_config.json
Change-Id: I93b9d2f6c13de739a32decefe3bc785be795839f
Related-bug: #1695091
2017-06-02 07:44:42 -04:00

764 B

Install, configure, and (optionally) run os-net-config.

Installs os-net-config and configures a JSON formatted config file at /etc/os-net-config/element_config.json. The os-net-config command is only executed if configuration metadata is provided.

Configuration

os_net_config: JSON (or YAML) metadata in the os-net-config format.

Config Examples:

 { "os_net_config":
     { "network_config": [
         {
             "type": "ovs_bridge",
             "name": "br-ctlplane",
             "use_dhcp": "true",
             "primary": "true",
             "members": [
                 {
                     "type": "interface",
                     "name": "em1"
                 }
             ]
         }
     ]}
 }