Rename SDN network template yml to yaml

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2015-10-09 13:27:45 +02:00
parent 1f58bb52cc
commit 5ba9d0db57
3 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ def setup_resources():
resources = vr.create('nodes', 'templates/nodes_with_transports.yaml', {"count": 2}) resources = vr.create('nodes', 'templates/nodes_with_transports.yaml', {"count": 2})
nodes = [x for x in resources if x.name.startswith('node')] nodes = [x for x in resources if x.name.startswith('node')]
node1, node2 = nodes node1, node2 = nodes
resources = vr.create('nodes_network', 'templates/nodes_network.yml', {"count": 2}) resources = vr.create('nodes_network', 'templates/nodes_network.yaml', {"count": 2})
nodes_sdn = [x for x in resources if x.name.startswith('node')] nodes_sdn = [x for x in resources if x.name.startswith('node')]
node1_sdn, node2_sdn = nodes_sdn node1_sdn, node2_sdn = nodes_sdn

View File

@ -5,7 +5,7 @@ resources:
from: resources/transport_ssh from: resources/transport_ssh
values: values:
ssh_user: 'vagrant' ssh_user: 'vagrant'
ssh_key: '/vagrant/.vagrant/machines/solar-dev{{i + 1}}/virtualbox/private_key' ssh_key: '/vagrant/.vagrant/machines/solar-dev{{i + 1}}/libvirt/private_key'
- id: transports{{i}} - id: transports{{i}}
from: resources/transports from: resources/transports
values: values: