VMware, Inc. 155
Chapter 9 User API Reference
Configuration
TheConfigurationelementspecifiespropertiesofanetwork.
FenceMode
TheFenceModeelementdefineshowthisnetworkisconnectedtoitsParentNetwork.Table 9‐1shows
permittedvaluesforelementcontentandtheresultstheyproduce.
IpScope
TheIpScopeelementdefinestheaddressrange,gateway,netmask,andotherpropertiesofthenetwork.
Tasks 0 1 TasksInProgressType Read‐onlycontainerforTaskelements.
Eachelementinthecontainer
representsaqueued,running,orfailed
taskownedbythisobject.
Configuration 0 1 NetworkConfigurationType Propertiesofthenetwork
NetworkPool 0 1 ReferenceType Areferencetothenetworkpoolfrom
whichthisnetworkisprovisioned.This
element,whichisrequiredwhen
creatinganatRoutedorisolated
network,
isreturnedinresponsetoa
creationrequestbutnotshownin
subsequentGETrequests.
AllowedExternalIpAddresses 0 1 IpAddressesType ListofexternalIPaddressesthatthis
networkcanuseforNAT.
Schema (Continued)
Name Min Max Type Description
Schema
Name Min Max Type Description
IpScope 0 1 IpScopeType Definestheaddressrange,gateway,netmask,andother
propertiesofthenetwork
ParentNetwork 0 1 ReferenceType Referencetoanetworktowhichthisnetworkconnects
FenceMode 1 1 FenceModeValuesType Defineshowthisnetworkisconnectedtoits
ParentNetwork
Features 0 1 NetworkFeaturesType Definesasetofnetworkfeatures.
Table 9-1. FenceMode Element Values
Value Result
bridged Thetwonetworksarebridged
isolated Thetwonetworksarenotconnected.
natRouted ThetwonetworksareconnectedasspecifiedintheirNatServiceelements.
Schema
Name Min Max Type Description
IsInherited 1 1 xs:boolean TrueifthevaluesinthisIpScopeelementare
inheritedfromtheParentNetworkofthe
containingConfiguration
Gateway 0 1 IpAddressType IPaddressofthenetworkgateway
Netmask 0 1 IpAddressType Netmasktoapplytoaddressesonthenetwork
Dns1 0 1 IpAddressType IPaddressoftheprimaryDNSserverforthis
network