Cisco Cisco Prime Network Services Controller 3.0 Guide Du Développeur

Page de 103
Page 67 
OL-28369-01 
</xs:restriction> 
</xs:simpleType> 
</xs:attribute> 
<xs:attribute name="outVersion" type="xs:string"/> 
<xs:attribute name="cookie" type="xs:string"/> 
<xs:attribute name="response" type="YesOrNo"/> 
<xs:attribute name="errorCode" type="xs:unsignedInt"/> 
<xs:attribute name="errorDescr" type="xs:string"/> 
<xs:attribute name="invocationResult" type="xs:string"/> 
</xs:complexType> 
Example 
Request 
<aaaLogin 
inName="admin" 
inPassword="Nbv12345"/> 
Response 
<aaaLogin cookie="" 
commCookie="" 
srcExtSys="0.0.0.0" 
destExtSys="0.0.0.0" 
srcSvc="" destSvc="" 
response="yes" 
outCookie="<real_cookie>" 
outRefreshPeriod="600" 
outPriv="admin" 
outDomains="" 
outChannel="fullssl" 
outEvtChannel="fullssl" 
outSessionId="web_49019" 
outVersion="1.0(0.39938)"> 
</aaaLogin> 
aaaLogout 
The following example shows the logout process to end a current session. When the default session time period 
expires, the process is called automatically. 
Request Syntax 
<xs:element name="aaaLogout" type="aaaLogout" substitutionGroup="externalMethod"/> 
<xs:complexType name="aaaLogout" mixed="true"> 
<xs:attribute name="inCookie" type="xs:string"/> 
<xs:attribute name="cookie" type="xs:string"/> 
<xs:attribute name="response" type="YesOrNo"/> 
</xs:complexType> 
Response Syntax 
<xs:element name="aaaLogout" type="aaaLogout" substitutionGroup="externalMethod"/> 
<xs:complexType name="aaaLogout" mixed="true"> 
<xs:attribute name="outStatus"> 
<xs:simpleType> 
<xs:restriction base="xs:string"> 
<xs:enumeration value="success"/> 
<xs:enumeration value="failure"/> 
</xs:restriction> 
</xs:simpleType> 
</xs:attribute>