Properties References for vRealize Automation 6.2


Blue Print

VMware vRealize Automation 6.2 Properties Reference

蓝图下面可选组件对应系统关系:

BasicVmWorkflow

最基本的VM配置,可以改是否LOAD ISO(不可定义地址/名字),STORAGE信息,VM Hardware版本信息

ExternalProvisioningWorkflow

用于HP Server Automation

LinuxKickstartWorkflow

借助KICKSTART的Linux自动化安装,要想预载ISO装LINUX,就要用这个

VirtualSccmProvisioningWorkflow

用于创建WINDOWS VM

WIMImageWorkflow

用于通过WIN PE类预载OS安装OS

以上功能中,所有需要自动化安装的都需要设定OS版本,ISO地址/名字等信息才可以创建。BASIC中的配置选项是所有类别都能用的。

ISO地址和名字的定义为:

假设vm上mount ISO的地址为[iSCSI_Datastore1]/ISOs/rhel-server-6.7-x86_64-dvd.iso,那么

Image.ISO.Location = iSCSI_Datastore1

Image.ISO.Name = /ISOs/rhel-server-6.7-x86_64-dvd.iso

常用Properties说明:

VMware.Hardware.Version

vm上硬件版本号 vmx-08

VirtualMachine.NetworkN.NetworkProfileName

按照Network Profile选网卡配置文件,N=网卡号,必须从0累加,不能跳,比如0,2,则因为没有1,所以2会被无视

VirtualMachine.NetworkN.Name

按照NSX上面portgroup名称选网卡文件

Property Dictionary (Advanced)

普通系统默认的PROPERTY只能就输入的信息和用户交互,要想实现类似从列表中选择某一值这种功能,就需要创建Property Dictionary。

创建一条Dictionary definition后,可以以系统已有关键字作为NAME,这样以后BLUEPRINT调用这个关键字时就会自动应用Dictionary中定义的规则,而Control Type中可以定义用户体验,比如可以是多选一,输入,提醒,范围,或者check。

列表具体包含内容如下:

Control Type

Available Attributes

Description

CheckBox

HelpText

OrderIndex

Specifies a check box for specifying true or false values.

DateTimeEdit

HelpText

OrderIndex

MinValue

Specifies a calendar and time control that enables users to specify a date and time.

DropDown

HelpText

OrderIndex

Relationship

ValueExpression

ValueList

Specifies a drop-down text box. A user can enter any text or select from the list of options.

DropDownList

HelpText

OrderIndex

Relationship

ValueExpression

ValueList

Specifies a drop list of options. A user must select a value from the list.

Integer

HelpText

OrderIndex

Interval

MinValue

MaxValue

Specifies a numeric box. If attributesare also assigned, a user can enter an integer value between a defined minimum and maximum value or step up and down by a defined interval value.

Label

HelpText

OrderIndex

Displays a read-only text label.

Link

OrderIndex

Displays a link with the property display name as the link text and the property value as the URL.

下面举几个典型应用例子:

多选一列表:

Dropdown(list) -> ValueList A,B,C

ACL列表:

Parent: Dropdown(list) -> ValueList A,B,C

Child: Dropdownlist -> Relationship Parent  +  ValueExpression  单行XML

XML举例:

“<?xml version=”1.0″ encoding=”utf-8″ standalone=”yes”?><ArrayOfPropertyValue xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”><PropertyValue><FilterName>VirtualMachine.Adapter.Number</FilterName><FilterValue>1</FilterValue><Value>Vlan480_Mgmt_10.10.128.0/23</Value></PropertyValue><PropertyValue><FilterName>VirtualMachine.Adapter.Number</FilterName><FilterValue>1</FilterValue><Value>Vlan580_VXLAN_10.237.0.0/24</Value></PropertyValue></ArrayOfPropertyValue>”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s