Issue-Id: DCAEGEN2-97
Change-Id: I6e5e701f5a64575c9280b1bea3b17e50023e599d
Signed-off-by: Michael Hwang <mhwang@research.att.com>
More details about what is expected from Docker components can be found in the DCAE ONAP documentation.
+## Pre-requisites
+
+### Docker logins
+
+The Docker plugin requires a key-value entry in Consul that holds all the Docker login credentials needed to access remote registries. The expected key is `docker_plugin/docker_logins` and the corresponding value is a json array with json objects:
+
+```
+[
+ { "username": "bob", "password": "123456", "registry": "this-docker-registry.com" },
+ { "username": "jane", "password": "7890ab", "registry": "that-docker-registry.com" }
+]
+```
+
+If there are no required Docker logins then set the value to empty list `[]`.
+
## Input parameters
### start
type: dcae.nodes.policy
properties:
policy_id: { get_input: host_capacity_policy_id }
+ # Use this property to toggle whether policy is required meaning errors are considered
+ # critical otherwise errors are silenced.
+ policy_required: true
host_location_policy:
type: dcae.nodes.policy
properties:
policy_id: { get_input: host_location_policy_id }
+ policy_required: true
db_server_policy:
type: dcae.nodes.policy
# TODO: May need to add the following line
# --extra-index-url <onap pypi url>
+--extra-index-url {{ ONAPTEMPLATE_PYPIURL_org_onap_dcaegen2 }}
python-dockering==1.3.0
-dcaepolicy==0.0.4
+dcaepolicy==1.0.0
"python-consul>=0.6.0,<1.0.0",
"python-dockering>=1.0.0,<2.0.0",
"uuid==1.30",
- "dcaepolicy>=0.0.4"
+ "dcaepolicy>=1.0.0"
]
)