summaryrefslogtreecommitdiffstats
path: root/compass-deck
AgeCommit message (Collapse)AuthorFilesLines
2018-12-20Add reserved_range in subnet tableHarry Huang4-13/+80
JIRA: COMPASS-612 1. reserved_range can be range and individual ips e.g. "10.1.0.0-10.1.0.50, 10.1.0.66" 2. IP within reserved range will cause an error Change-Id: If2160af165a57cab3bc8b528379879cad42a5db0 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-11-12Modify manage_db.pyHarry Huang2-1/+54
JIRA: COMPASS-613 Add add_machine and add_subnet Change-Id: Ibe3be5040a8d34c4415b6c0fe927b486b14495c8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-10-30Merge "Manage host power from cobbler"Harry Huang6-63/+63
2018-10-30Manage host power from cobblerHarry Huang6-63/+63
JIRA: COMPASS-616 1. Use fence_ipmilan to control power of baremetal servers. Add fence_libvirt to control power of virtual servers. 2. Use power_manage field instead of ipmi field 3. Add power_type to specify machine's power manage tool 4. Store power manage information in db and update to cobbler 5. Manage power from cobbler for both virtual and baremetal machines Change-Id: Ic36ae640dc0aa1703566b5b0b549880a71be36e4 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-10-16Ignore owner_idHarry Huang1-1/+1
JIRA: - Support add machine without owner_id Change-Id: Ia47d6c4cd514ee315350b45eaa64282e15f97346 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-09-17Add gateway in subnet tableHarry Huang2-4/+5
JIRA: COMPASS-618 Change-Id: I3800d2aa7a38616484eb76390e6a623645dc441c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-09-03Merge "Passing ipmi credentials to cobbler"Harry Huang1-1/+1
2018-09-03Passing ipmi credentials to cobblerHarry Huang1-1/+1
JIRA: COMPASS-616 Add host ipmi credentials into cobbler system to manage host power. Change-Id: I6ffbb390f920fe146887513d3f7e48f05630a25f Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-08-10Support multiple mac addresses in dbHarry Huang2-4/+5
JIRA: COMPASS-613 Change-Id: I1828c512d04060271cd0dc4884d892aa8f5adf97 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-05-29fix celery version to 4.1.0 in compass-deck dockerwutianwei1-1/+1
it would fail to deploy when celery version is 4.1.1. https://build.opnfv.org/ci/job/compass-deploy-virtual-daily-fraser/499/consoleFull Change-Id: I64c8bc9e3a0cc7532c5b1abaacd5deb1c9aaa598 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-05-17Replace deprecated usages of FlaskHarry Huang6-9/+9
JIRA: COMPASS-598 Old usage like "from flask.ext.script import Manager" should be replaced by "from flask_script import Manager" as Flask is upgraded from 0.12.2 to 1.0.2. Fix all deprecated usage among compass containers. Change-Id: If03b73a01d7dfc33a505a9fa2c893c6993feaeb2 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-04-09Fix pip versionHarry Huang2-2/+1
JIRA: - Avoid package problems brought by pip10 Change-Id: I082571ba71b6624f4b8f8a8b4a2a4eed9315cd10 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-04-09Fix pip version at 9.0.1Harry Huang1-0/+1
JIRA: - Avoid package problems brought by pip10 Change-Id: Ibc6c92d0b212b746c531aca8b07f3b00ed3bbd9e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-19compass-deck: support arm64Yibo Cai2-1/+27
Differences from x86_64: - Dockerfile: use centos:7 as base image - Dockerfile: embed changes in huangxiangyu/centos-systemd - build.sh: don't quit if libcrypto.so.6 doesn't exist Change-Id: I8d04f87f473dbf23e000be2e0ea1d99a7602b91c Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-01-04Update compass-deckHarry Huang1-1/+7
Using for loop to mv compass modules into compass dir to fix dir mv issue Change-Id: Id36781a8c2768aed12d1afb574dab0947f56b361 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-11-30add ARG in Dockerfilewutianwei1-0/+1
when run the command "docker build --no-cache -t opnfv/compass-tasks:latest --build-arg BRANCH=master -f Dockerfile ." if docker version is lower 1.13, it will fail when not using build-arg in Dockerfile Change-Id: I891a37731d242aba4e37c7b56e0361c741e7eac8 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-11-03Add compass-deckHarry Huang138-0/+32544
RESTful API and DB Handlers for Compass Change-Id: I1ce411f279943764c286ea48dca9185d453cf254 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>