Skip to content

Commit

Permalink
Merge pull request #1213 from lguohan/docker
Browse files Browse the repository at this point in the history
[ansible]: upgrade to use ansible 2.8.7
  • Loading branch information
lguohan authored Nov 20, 2019
2 parents 1665ae3 + 8e32e52 commit 3920347
Show file tree
Hide file tree
Showing 40 changed files with 151 additions and 1,919 deletions.
6 changes: 3 additions & 3 deletions ansible/config_sonic_basedon_testbed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,17 @@
- name: find all interface indexes mapping connecting to VM
set_fact:
interface_to_vms: "{{ interface_to_vms|default({}) | combine({ item.key: item.value['interface_indexes'] }) }}"
with_dict: vm_topo_config['vm']
with_dict: "{{ vm_topo_config['vm'] }}"

- name: find all interface indexes connecting to VM
set_fact:
ifindex_to_vms: "{{ ifindex_to_vms|default([]) }} + {{ item.value['interface_indexes']}}"
with_dict: vm_topo_config['vm']
with_dict: "{{ vm_topo_config['vm'] }}"

- name: find all interface names
set_fact:
intf_names: "{{ intf_names | default({}) | combine({item.key: port_alias[item.value[0]|int:item.value[-1]|int+1] }) }}"
with_dict: interface_to_vms
with_dict: "{{ interface_to_vms }}"

- name: create minigraph file in ansible minigraph folder
template: src=templates/minigraph_template.j2
Expand Down
Loading

0 comments on commit 3920347

Please # to comment.