aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool
diff options
context:
space:
mode:
authorkooper <sergey.sachkov@est.tech>2019-04-03 13:23:08 +0000
committerkooper <sergey.sachkov@est.tech>2019-04-03 13:23:08 +0000
commit570fe1445174c724577e0d481154ac7703393798 (patch)
tree37e340d822bc253a377b4574426ee940d1f3cd28 /asdctool
parentc6f9f152bbed844843e4f2a137bcfa1b726dd81f (diff)
Add artifact types
Change-Id: I48f2926623441d0729c5d5b476f3e72f962b64f8 Issue-ID: SDC-2156 Signed-off-by: kooper <sergey.sachkov@est.tech>
Diffstat (limited to 'asdctool')
-rw-r--r--asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb19
-rw-r--r--asdctool/src/main/resources/config/configuration.yaml19
2 files changed, 38 insertions, 0 deletions
diff --git a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb
index 9cfd409cc9..67a0503c8f 100644
--- a/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb
+++ b/asdctool/sdc-cassandra-init/chef-repo/cookbooks/cassandra-actions/templates/default/configuration.yaml.erb
@@ -458,6 +458,25 @@ resourceDeploymentArtifacts:
validForResourceTypes:
- VF
- PNF
+ YANG_MODULE:
+ acceptedTypes:
+ - yang
+ validForResourceTypes:
+ - VF
+ - PNF
+ ANSIBLE_PLAYBOOK:
+ acceptedTypes:
+ - yaml
+ - yml
+ validForResourceTypes:
+ - VF
+ - PNF
+ ONBOARDED_PACKAGE:
+ acceptedTypes:
+ - csar
+ validForResourceTypes:
+ - VF
+ - PNF
#PLAN
PLAN:
diff --git a/asdctool/src/main/resources/config/configuration.yaml b/asdctool/src/main/resources/config/configuration.yaml
index f481a10ae6..eef48108ee 100644
--- a/asdctool/src/main/resources/config/configuration.yaml
+++ b/asdctool/src/main/resources/config/configuration.yaml
@@ -477,6 +477,25 @@ resourceDeploymentArtifacts:
validForResourceTypes:
- VF
- PNF
+ YANG_MODULE:
+ acceptedTypes:
+ - yang
+ validForResourceTypes:
+ - VF
+ - PNF
+ ANSIBLE_PLAYBOOK:
+ acceptedTypes:
+ - yaml
+ - yml
+ validForResourceTypes:
+ - VF
+ - PNF
+ ONBOARDED_PACKAGE:
+ acceptedTypes:
+ - csar
+ validForResourceTypes:
+ - VF
+ - PNF
resourceInstanceDeploymentArtifacts:
HEAT_ENV: