cloudstack/plugins/network-elements/cisco-vnmc/scripts/network/cisco/create-source-nat-policy.xml

110 lines
3.5 KiB
XML

<configConfMos
cookie="%cookie%"
inHierarchical="false">
<inConfigs>
<pair key="%natruleruledn%" >
<policyRuleCondition
dn="%natruleruledn%"
id="2"
order="unspecified"
status="created"/>
</pair>
<pair key="%natsnatruleconddn%" >
<policyNwAttrQualifier
attrEp="source"
dn="%natsnatruleconddn%"
status="created"/>
</pair>
<pair key="%natpoldn%" >
<natpolicyNatRuleBasedPolicy
adminState="enabled"
descr="%natpoldescr%"
dn="%natpoldn%"
name="%natpolname%"
status="created"/>
</pair>
<pair key="%natipdn2%" >
<policyIPAddress
dataType="string"
descr=""
dn="%natipdn2%"
id="2"
name=""
placement="begin"
status="created"
value="%sourcestartip%"/>
</pair>
<pair key="%natipdn3%" >
<policyIPAddress
dataType="string"
descr=""
dn="%natipdn3%"
id="3"
name=""
placement="end"
status="created"
value="%sourceendip%"/>
</pair>
<pair key="%natrangedn%" >
<policyNetworkExpression
dn="%natrangedn%"
id="2"
opr="range"
status="created"/>
</pair>
<pair key="%natruledn%" >
<policyRule
descr="%natruledescr%"
dn="%natrulen%"
name="%natrulename%"
order="100"
status="created"/>
</pair>
<pair key="%natactiondn%" >
<natpolicyNatAction
actionType="static"
destTranslatedIpPool=""
destTranslatedPortPool=""
dn="%natactiondn%"
id="0"
isBidirectionalEnabled="yes"
isDnsEnabled="yes"
isNoProxyArpEnabled="no"
isRoundRobinIpEnabled="no"
srcTranslatedIpPatPool=""
srcTranslatedIpPool="%sourcenatpoolname%"
srcTranslatedPortPool=""
status="created"/>
</pair>
</inConfigs>
</configConfMos>
<!--
natactiondn="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3/rule-Source-NAT-Policy-Rule/nat-action"
srcTranslatedIpPool="Source-NAT-Pool-For-Tenant3"
natruledn="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3/rule-Source-NAT-Policy-Rule"
natrulename="Source-NAT-Policy-Rule"
natruledescr="Source NAT Policy Rule for Tenant3"
natrangedn="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3/rule-Source-NAT-Policy-Rule/rule-cond-2/nw-expr2"
natipdn="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3/rule-Source-NAT-Policy-Rule/rule-cond-2/nw-expr2/nw-ip-3"
natpoldn="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3"
natpolname="Source-NAT-For-Tenant3"
natpoldescr="%natpoldescr%"
natsnatruleconddn="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3/rule-Source-NAT-Policy-Rule/rule-cond-2/nw-expr2/nw-attr-qual"
natruleruledn="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3/rule-Source-NAT-Policy-Rule/rule-cond-2"
natipdn2="org-root/org-TestTenant3/org-Tenant3-VDC/natpol-Source-NAT-For-Tenant3/rule-Source-NAT-Policy-Rule/rule-cond-2/nw-expr2/nw-ip-2"
value="%sourcestartip%"
value="%sourceendip%"
--!>