Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I47949f44ea609932059374b128018e36590e88fd
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
JIRA: DAISY-56
Now the roles are assigned to nodes randomly, because the function
'add_hosts_interface' in tempest.py just uses zip to map the
host's name to the host.
libvirt_utils.py: get mac addresses from VM
environment.py: save the mac addresses
daisy_server.py: write a new deploy.yml which contains the mac addresses
and copy the file to daisy server
get_conf.py: get mac addresses from the new deploy.yml
tempest.py: assigned roles to nodes when the mac addresses matched
controller.xml: increase the RAM to make difference with computer nodes
deploy.sh: apply this change to bash script
Change-Id: Ia61b60d39d319c5d01e3505727fafc63a0585858
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
just move the code from get_para_from_deploy to get_conf file
no functionality change.
Change-Id: I86aa1325ff37cb2ae0784c9487e62e95cc23f644
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
Change-Id: I71255872e6bcf485f8ab72c105db931d96233d03
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
|
|
to kill '[0]' in get_conf.py file
Change-Id: I82282ff8431bf3eb93746e505e18547929f20ed9
Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
|
|
we have got MANAGEMENT ip from network.yml
section networks ip ranges part,so here is duplicated
Change-Id: I144a4c5b7e59a1ec1cb1b83a944752a3a1f4d65a
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
Change-Id: I600e21f0d36f37c75cac4ace5f7225e32ab93d56
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
|
|
1. use list for physic nics;
2. add physic and logic nic parameter in deploy.yml;
3. merge network plane in file deploy.yml and network.yml using the
keywork *network plane name* for better usage;
*network_map* will be deleted from the return result list in the future.
Change-Id: Ia5f3277ec0fe864b7a523162d3b53d650e04e2a3
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
|
|
1. delete 'decorator' function, replaced by hostdecorator;
2. reduce unused parameters for functions and wrapters;
3. add a decorator maker for hosts and networks;
Change-Id: I77cdc19316e0b11f7853f31fa397da98350789c2
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
1. use list to define interfaces
2. no necessary to fetch [0]
Change-Id: If17605b27c00d4e7fca8bced9c0bb4f7c724a4f2
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
load yaml file by using function safe_load()
See link http://pyyaml.org/wiki/PyYAMLDocumentation for details.
Change-Id: I91d1746c5ca1bd1770d47d4e8d0f85b6aed47934
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
Change-Id: I864082b885a4c7117f0b546da602e9580e8ccf46
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
|