From 8fc65d72aaa99fef20bb67ec62fbc570bdc5c6e5 Mon Sep 17 00:00:00 2001 From: Ji zhaoxuan Date: Tue, 6 Dec 2016 17:47:54 +0800 Subject: [PATCH] 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 --- doc/source/dsl/dsl_v2.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/dsl/dsl_v2.rst b/doc/source/dsl/dsl_v2.rst index f15cb042e..61d24f67c 100644 --- a/doc/source/dsl/dsl_v2.rst +++ b/doc/source/dsl/dsl_v2.rst @@ -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 **/.ssh/**. -**** should refer to user directory under which service is running. *Optional.* +**** 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.