Xicheng Chang 587250bfae Add Ansible playbooks and modified cobbler snippets
Change-Id: If759d0fa469d3d40ab92e3359c6f9dfdbebe7214
2015-04-04 13:17:23 -07:00

14 lines
448 B
YAML

---
- name: ovs set manager
command: ovs-vsctl set-manager tcp:{{ odl_controller }}:6640
- name: get ovs uuid
shell: ovs-vsctl get Open_vSwitch . _uuid
register: ovs_uuid
- name: set bridge_mappings
command: ovs-vsctl set Open_vSwitch {{ ovs_uuid.stdout }} other_config:bridge_mappings=physnet1:{{ INTERFACE_NAME }}
- name: set local ip
command: ovs-vsctl set Open_vSwitch {{ ovs_uuid.stdout }} other_config:local_ip={{ internal_ip }}