modify something in 'dsl_v2.rst'

in 'std.ssh' action's parameters, I think
'username' is Required
in 'std.email' action's parameters ,I think
'subject' and 'body' are Optional

Change-Id: Ie40780db9049e734a0592b539c4c26d4f38799ba
This commit is contained in:
Ji zhaoxuan 2016-12-06 17:47:54 +08:00
parent 2404b0580b
commit 8fc65d72aa

View File

@ -752,8 +752,8 @@ std.email
Sends an email message via SMTP protocol.
- **to_addrs** - Comma separated list of recipients. *Required*.
- **subject** - Subject of the message. *Required*.
- **body** - Text containing message body. *Required*.
- **subject** - Subject of the message. *Optional*.
- **body** - Text containing message body. *Optional*.
- **from_addr** - Sender email address. *Required*.
- **smtp_server** - SMTP server host name. *Required*.
- **smtp_password** - SMTP server password. *Required*.
@ -789,11 +789,11 @@ Input parameters:
executed. *Required*.
- **host** - Host name that the command needs to be executed on.
*Required*.
- **username** - User name to authenticate on the host.
- **password** - User password to to authenticate on the host. *Optional.*
- **username** - User name to authenticate on the host. *Required*.
- **password** - User password to to authenticate on the host. *Optional*.
- **private_key_filename** - Private key file name which will be used for authentication on remote host.
All private keys should be on executor host in **<home-user-directory>/.ssh/**.
**<home-user-directory>** should refer to user directory under which service is running. *Optional.*
**<home-user-directory>** should refer to user directory under which service is running. *Optional*.
**NOTE**: Authentication using key pairs is supported, key should be
on Mistral Executor server machine.