VMware VSHIELD APP 1.0 - API Uživatelský manuál Strana 34

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 104
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 33
vShield API Programming Guide
34 VMware, Inc.
<mtu>1500</mtu>
</interface>
<interface>
<isUplink>true</isUplink>
<networkId>network-13</networkId>
<ipAddress>10.112.2.40</ipAddress>
<subnetMask>255.255.254.0</subnetMask>
<defaultGw>10.112.3.253</defaultGw>
<mtu>1500</mtu>
</interface>
</applianceConfig>
</installParams>
</vshieldEdgeConfig>
Theinstallationschemarequiresthefollowingvalues:
resourcePoolId:EntertheVCMOIDoftheresourcepool.
hostId:EntertheVCMOIDoftheESXHosttowhichthevShieldEdgeistobecloned.Mandatory.
dataStoreId:EntertheVCMOIDoftheDatastoretowhichthevShieldEdgeistobecloned.
applianceConfig:Theinterfaceshouldbedefinedtwice,oncewithisUplink=truefortheexternal
interface,andoncewithisUplink=falseorabsentfortheinternalinterface.
Theinstallationschemaacceptsthefollowingoptionalparametersforadvancedconfigurations:
hostName:ThisisthefullyqualifieddomainnamesetonthevShieldEdgevirtualmachine.Itwillbe
visibleintheremotesyslogmessagesgeneratedfromEdge.
tenantId:CanbeusedtoidentifythetenanttowhichthisEdgebelongs.Itwillbevisibleintheremote
syslogmessagesgeneratedfromEdge.
disableInternalFirewallRules:ThisdefaultstoFalse.Ifsettotrue,theadministratorneedstopunch
therequiredfirewallholestoletthetrafficgeneratedfromvShieldEdgegoout.
macAddress:CanbeusedtoaddavNICwithaspecifiedMACaddress.Theuserisresponsiblefor
validatingtheuniquenessoftheMACassignmentsonVCentities.
mtu:Theusercanchangetheinterfacemaximumtransmissionunitwiththisfield.Defaultis1500.
vmFolderId:SpecifiesaparticularfolderontheVCwheretheEdgeVMshouldbeplaced.
vseName:SpecifieshostnameoftheEdgeVM.DefaultisvshieldEdge-<internal-portgroup-on-vc>.
vmxParametersList:ThesecanbeusedtoaddconfigurationsforthevNICsintotheVMXfile.
customField:ThesecanbeusedtodefinecustomfieldsfortheEdgeVM.
memoryAllocation:ChangesmemoryallocationfortheEdgeVM,defininglimitsand/orreservation.
Canbeanabsolutevalue(value)oramultiplierfactortothedefaultvalue(multiplier).Defaultis256MB.
cpuAllocation:ChangesCPUallocationfortheEdgeVM,defininglimitsand/orreservation.Canbean
absolutevalue(value)oramultiplierfactortothedefaultvalue(multiplier).
Getting the Current Configuration of a vShield Edge
YoucangetthefullconfigurationpresentonavShieldEdge,includingthelistofconfiguredservices,suchas
DHCP,NAT,andfirewallrules.
Example 4-2. Get the current configuration of a vShield Edge
Request:
GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>>/edge
ExampleConfiguration:
Zobrazit stránku 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 103 104

Komentáře k této Příručce

Žádné komentáře