VMware VCLOUD API 1.0 - API Programming Manual page 158

Table of Contents

Advertisement

vCloud API Programming Guide
NatType
The NatType element specifies how network address translation is implemented by the NAT service. Table
shows permitted values for element content and the results they produce.
Table 9-3. NatType Element Values
Value
ipTranslation
portForwarding
Policy
The Policy element of a NatService element specifies how packets are handled by the NAT service. Table
shows permitted values for element content and the results they produce.
Table 9-4. NatService Policy Element Values
Value
allowTraffic
allowTrafficIn
NatRule
The NatRule element specifies a single network address translation rule.
Schema
Name
Description
OneToOneBasicRule
OneToOneVmRule
PortForwardingRule
VmRule
OneToOneVmRule
The OneToOneVmRule element describes a NAT rule that specifies network address translation details for a 
single virtual machine. The external IP address can be specified manually or assigned automatically at 
deployment time. The internal IP address is discovered by looking up the specified VmReference and NIC ID.
Schema
Name
MappingMode
ExternalIP
VAppScopedVmId
VmNicId
158
Result
NAT service implemented by IP address translation
NAT service implemented by network port forwarding
Result
Packets of this type pass through the firewall in both directions
Only inbound packets of this type pass through the firewall
Min
Max
Type
0
1
xs:string
0
1
NatOneToOneBasicRuleType
0
1
NatOneToOneVmRuleType
0
1
NatPortForwardingRuleType
0
1
NatVmRuleType
Min
Max
Type
1
1
NatMappingModeType
0
1
IpAddressType
1
1
xs:string
1
1
xs:int
Description
Optional description of the rule
Ignored in this release
Specifies network address translation details for 
a single virtual machine
Maps an IP address and port in an organization 
network to an external IP address and port
Maps an IP address and port in a vApp network 
to an external IP address and port
Description
Specifies how IP address mapping is implemented by 
the NAT service
If MappingMode is manual, specifies the external IP 
address of this Vm
Read‐only identifier created on import
Device number of the NIC on the referenced virtual 
machine
9‐3 
9‐4 
VMware, Inc.

Advertisement

Table of Contents
loading

Table of Contents