Quick Start
Downloading
Get HAS from the Linux Foundation Projects page.
git clone https://gerrit.onap.org/r/optf/has
Running the Example
Use virtual environment to create and manage libraries and dependencies for HAS project.
virtualenv {virtual_environment_location}
source {virtual_environemtn_location}/bin/activate
Inside of /has folder, run the following commands:
python setup.py install
pip install -e .
In {virtual_environment_location}/bin folder, you should see the five components of HAS/Conductor project
conductor-api,conductor-controller, conductor-solver, conductor-reservation, conductor-data
To start the process, execute the following commands:
conductor-api --port=8091 -- --config-file={conductor_conf_file_location}
conductor-controller --config-file={conductor_conf_file_location}
conductor-solver --config-file={conductor_conf_file_location}
conductor-reservation --config-file={conductor_conf_file_location}
conductor-data --config-file={conductor_conf_file_location}
Commiting the Code
git commit -am "Initial proj struct"
git review -s
git commit -as --amend# scroll down
2
lines (above your Change-ID)
insert "Issue-ID: {issue_id}
"
git review