26f486cc1d
Now, functional tests would be located in murano/tests folder Group all unit tests to the corresponding folder under tests Run only unit tests in Opentack gate Change-Id: I5ebea265fd7cdef7e77a47eedae40d23f91638d0 Partly-Closes-Bug: #1349383
29 lines
715 B
YAML
29 lines
715 B
YAML
Namespaces:
|
|
=: io.murano.windows.Dummy
|
|
std: io.murano
|
|
sys: io.murano.system
|
|
|
|
Name: SecondaryController
|
|
|
|
Extends: Controller
|
|
|
|
Workflow:
|
|
initialize:
|
|
Body:
|
|
- $.super($.initialize())
|
|
- $.domain: $.find(ActiveDirectory).require()
|
|
|
|
deploy:
|
|
Body:
|
|
- $.super($.deploy())
|
|
- $.host.joinDomain($.domain)
|
|
- $resources: new(sys:Resources)
|
|
- $template: $resources.json('CreateSecondaryDC.template').bind(dict(
|
|
domain => $.domain.name,
|
|
recoveryPassword => $.recoveryPassword,
|
|
domainAccountName => $.domain.adminAccountName,
|
|
domainPassword => $.domain.adminPassword
|
|
))
|
|
- $.host.agent.call($template, $resources)
|
|
#
|