4.2
Table Of Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Introduction to Orchestrator Plug-Ins
- Using the vCenter Server 4.1 Plug-In
- Using the vCO Library Plug-In
- Using the Database Plug-In
- Using the SSH Plug-In
- Using the XML Plug-In
- Using the Mail Plug-In
- Using the Net Plug-In
- Using the Enumeration Plug-In
- Index
Using the Net Plug-In 8
You can use the Net plug-in to implement the Telnet, FTP, and POP3 protocols in workflows. The POP3 part
allows reading email. In combination with the Mail plug-in, the Net plug-in provides full email sending and
receiving capabilities in workflows.
Net Plug-In Scripting API
The Net scripting API contains classes, with their respective attributes, methods, and constructors, that allow
vCenter Orchestrator workflows to implement Telnet, POP3, and FTP functionality. You can use the API to
develop custom workflows.
FTPClient Class
The FTPClient class is the main class for implementing FTP funtionality into workflows.
The FTPClient class defines the FTPClient():FTPClient constructor.
The FTPClient class defines the following attributes.
Attribute Returns Description
cwd String
Current working directory
output String
Command output if any
replyCode Number
Last reply code
soLinger Number
Socket SO Linger (null if disabled)
state String
Run state
tcpNoDelay Boolean
Socket TCP no delay
timeout Number
Socket timeout
The FTPClient class defines the following methods.
Method Returns Description
connect(String,number):Object Object
Connects the client to a host.
disconnect():Object Object
Logs out and disconnects the current
session if open.
enableSSL(boolean):Object Object
Enables SSL.
executeCommand(String,String):n
umber
Number
Runs a command.
VMware, Inc. 61