Cisco Cisco Prime Network Services Controller 3.2 Guia Do Programador

Página de 163
Page 82 
OL-30968-01 
Edge Security Profile 
The following example creates an edge security profile named edge-security-profile-01 and assigns 
policies to it. 
Request 
POST URL: https://10.193.33.221/xmlIM/policy-mgr 
XML API payload: 
 
<configConfMos 
cookie="<real_cookie>" 
inHierarchical="false"> 
<inConfigs> 
<pair key="org-root/vnep-edge-security-profile-01"> 
<policyVirtualNetworkEdgeProfile 
connTimeoutRef="default" 
descr="" 
dn="org-root/vnep-edge-security-profile-01" 
egressAclPsetRef="egress-01" 
ingressAclPsetRef="egress-01" 
inspectRef="default" 
intId="none" 
ipAuditRef="default" 
name="edge-security-profile-01" 
natPsetRef="nat-pol-01" 
status="created" 
tcpInterceptRef="default" 
vnspId="0" 
vpnRef="interface-policy-01"/> 
</pair> 
</inConfigs> 
</configConfMos> 
 
Response 
 
<configConfMos  
cookie="<real_cookie>" 
commCookie="7/12/0/a3b"  
srcExtSys="10.193.33.221"  
destExtSys="10.193.33.221"  
srcSvc="sam_extXMLApi"  
destSvc="policy-mgr_dme"  
response="yes"> 
<outConfigs> 
<pair key="org-root/vnep-edge-security-profile-01"> 
<policyVirtualNetworkEdgeProfile  
connTimeoutRef="default"  
descr=""  
dn="org-root/vnep-edge-security-profile-01"  
egressAclPsetRef="egress-01"  
ingressAclPsetRef="egress-01"  
inspectRef="default"  
intId="10697"  
ipAuditRef="default"  
name="edge-security-profile-01"  
natPsetRef="nat-pol-01"  
status="created"  
tcpInterceptRef="default"  
vnspId="0"  
vpnRef="interface-policy-01"/> 
</pair> 
</outConfigs> 
</configConfMos>