aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/config_parse.py
AgeCommit message (Collapse)AuthorFilesLines
2018-08-06Get VIRT_NUMBER from DHA fileHarry Huang1-0/+3
JIRA: COMPASS-611 Change-Id: I498ea9517ff4f29c0369b8339b5e625c4131bd00 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-07-02Add cluster_param in DHA fileHarry Huang1-0/+7
JIRA: COMPASS-603 Users may need some extra parameters to further customize the deployment. Change-Id: I64f7f39a49f17350d159b3733f34ffd816849174 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-22Fix some hard coding for some ip assignmentsHarry Huang1-13/+18
JIRA: COMPASS-570 1. fix hard coding in ip assignments for install network. support full ip assignments from network.yml 2. remove some used config item in deploy/conf Change-Id: I566b74f4a55e6b96af3ee9f41d1e183a73424a91 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-19Support multi-cluster deployHarry Huang1-0/+1
JIRA: COMPASS-566 1. set DEPLOY_HOST to "true "no longer refresh compass-core 2. patch depends on merged compass-tasks 3. support assign cluster name in scenario file Change-Id: I28d201c201cff5baefee9993d195be16ef1e830b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-11Adapt network.yml to OpenStack AnsibleHarry Huang1-33/+67
JIRA:COMPASS-557 1. modify sys_intf_mappings and ip_settings in network.yml to synchronize with OSA network. networks compass build will be mgmt, external, tenant, storage. 2. modify compass_conf to support new netwok.yml 3. fix some hard coding when transfer ip parameters 4. support heterogeneous network Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-11Utilize yaml.safe_loadlhinds1-1/+1
The patch changes instances of yaml.load with yaml.safe_load which is more secure at blocking arbitrary code execution. The following blog has a decent explaination: https://www.kevinlondon.com/2015/08/15/dangerous-python-functions-pt2.html Change-Id: I8201baab6cb31ab31228eca83134f87a57c2f5d2 Signed-off-by: lhinds <lhinds@redhat.com>
2017-07-10Add opendaylight switchHarry Huang1-0/+6
Add key plugins in DHA file and declare opendaylight as a plugin in odl scenario. Change-Id: Iefc07b691d5052a9980d8c87f23a9f82be61ed6e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-02-27Add License header for files without itchigang1-0/+9
JIRA: - use the first author's company for license holder use the latest year for license year add license for yml,c,cpp,shell,python,java. don't add license for template files such as config and j2 patch for auto add license: https://github.com/Justin-chi/Lab/blob/master/add_license.sh delete the files with the Eclipse License Change-Id: I4f17da4ebb36a074c0b6722a2a4154e6c235d4bb Signed-off-by: chigang <chigang@huawei.com>
2016-11-09autopep8 make py files more standardKingPoo1-6/+32
Change-Id: Ibaa74a1f508b28548668e764d1860393caa356d4 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-03-17Clarify the config file to dha filegrakiss1-7/+7
JIRA:COMPASS-344 - make it easy Change-Id: I6e29136670f7a9f75ff90e893eff865d77235b31 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-03-14Move default DHA/NETWORK/NEUTRON from scripts to config filegrakiss1-3/+0
JIRA:COMPASS-343 - the default config should be visible to end-user Change-Id: I0471e9b51c9a08e32553ebbae0556576c9ec2ab2 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-02-15update default dha file and iso pathbaigk1-2/+3
JIRA: COMPASS-313 Change-Id: I3e3c8016917513a2a8a963f2f007cb6faa4a1c7e Signed-off-by: baigk <baiguoku@huawei.com>
2015-11-03Create Deployment Hardware Adapter (DHA) file for compassbaigk1-5/+8
JIRA: COMPASS-132 Change-Id: I8e3f73b93acd8dae9f40dd43548679bc2eb1ea3c Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-08Build improvement for speedup and using public repobaigk1-0/+86
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>