kolla-ansible/ansible/roles/openvswitch/templates/openvswitch-db-server.json.j2
yuqian 5f3cbd8360 Add support for onos
Co-Authored-By: caowei <cao.wei@99cloud.net>
Co-Authored-By: yuqian <yu.qian@99cloud.net>

Change-Id: If8143b720203fe75cf586248f1fa1d3fde34c750
blueprint: onos-support
2018-07-17 15:20:40 +08:00

12 lines
349 B
Django/Jinja

{
"command": "start-ovsdb-server {% if enable_onos | bool %} 0.0.0.0 {% else %} 127.0.0.1 {% endif %}",
"config_files": [
{
"source": "{{ container_config_directory }}/start-ovsdb-server",
"dest": "/usr/local/bin/start-ovsdb-server",
"owner": "root",
"perm": "0655"
}
]
}