Cisco Cisco Prime Network Services Controller 3.2 Developer's Guide
Page 35
OL-30968-01
</configConfMos>
Response
<configConfMos
cookie="<real_cookie>"
commCookie="5/12/0/35da"
srcExtSys="172.20.101.150"
destExtSys="172.20.101.150"
srcSvc="sam_extXMLApi"
destSvc="resource-mgr_dme"
response="yes">
<outConfigs>
commCookie="5/12/0/35da"
srcExtSys="172.20.101.150"
destExtSys="172.20.101.150"
srcSvc="sam_extXMLApi"
destSvc="resource-mgr_dme"
response="yes">
<outConfigs>
<pair key="org-root/efw-default">
<fwEdgeFirewall
assocState="unassociated"
auxProps=""
configState="not-applied"
descr=""
dn="org-root/efw-default"
fltAggr="0"
haMode="standalone"
hostname="edge-firewall"
intId="10467"
name="default"
status="created"/>
auxProps=""
configState="not-applied"
descr=""
dn="org-root/efw-default"
fltAggr="0"
haMode="standalone"
hostname="edge-firewall"
intId="10467"
name="default"
status="created"/>
</pair>
<pair key="org-root/efw-default/interface-inside">
<pair key="org-root/efw-default/interface-inside">
<fwDataInterface
descr=""
dn="org-root/efw-default/interface-inside"
intId="10468"
ipAddressPrimary="10.10.10.1"
ipAddressSecondary="0.0.0.0"
ipSubnet="255.255.255.0"
isIpViaDHCP="no"
name="inside"
role="inside"
status="created"/>
dn="org-root/efw-default/interface-inside"
intId="10468"
ipAddressPrimary="10.10.10.1"
ipAddressSecondary="0.0.0.0"
ipSubnet="255.255.255.0"
isIpViaDHCP="no"
name="inside"
role="inside"
status="created"/>
</pair>
<pair key="org-root/efw-default/interface-outside">
<pair key="org-root/efw-default/interface-outside">
<fwDataInterface
descr=""
dn="org-root/efw-default/interface-outside"
intId="10469"
ipAddressPrimary="10.10.20.1"
ipAddressSecondary="0.0.0.0"
ipSubnet="255.255.255.0"
isIpViaDHCP="no"
name="outside"
role="outside"
status="created"/>
dn="org-root/efw-default/interface-outside"
intId="10469"
ipAddressPrimary="10.10.20.1"
ipAddressSecondary="0.0.0.0"
ipSubnet="255.255.255.0"
isIpViaDHCP="no"
name="outside"
role="outside"
status="created"/>
</pair>
</outConfigs>
</configConfMos>
Instantiate an Edge Firewall
The following example instantiates an edge firewall and configures interface and device profiles for it.
Request
POST URL: https://10.193.33.221/xmlIM/resource-mgr
XML API payload:
<configConfMos cookie=“<real_cookie>“ inHierarchical="false">