summaryrefslogtreecommitdiffstats
path: root/deploy/config_parse.py
AgeCommit message (Collapse)AuthorFilesLines
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>