Junos Space SDK > Device Simulator Guide > Creating Request and Response Elements for Device Config and Type

license-inventory.xml

Client Request RPC: <rpc><get-license-summary-information/> </rpc>

Server Response: (This needs to be copied to license-inventory.xml)

<license-summary-information xmlns="http://xml.juniper.net/junos/10.0R2/junos-liicense">

<license-usage-summary>

<features-used/>

<feature-summary>

<name>av_key_kaspersky_engine</name>

<description>Kaspersky AV</description>

<licensed>1</licensed>

<used-licensed>0</used-licensed>

<needed>0</needed>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</feature-summary>

<feature-summary>

<name>anti_spam_key_sbl</name>

<description>Anti-Spam</description>

<licensed>1</licensed>

<used-licensed>0</used-licensed>

<needed>0</needed>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</feature-summary>

<feature-summary>

<name>wf_key_surfcontrol_cpa</name>

<description>Web Filtering</description><name>wf_key_surfcontrol_cpa</name>

<description>Web Filtering</description>

<licensed>1</licensed>

<used-licensed>0</used-licensed>

<needed>0</needed>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</feature-summary>

<feature-summary>

<name>idp-sig</name>

<description>IDP Signature</description>

<licensed>1</licensed>

<used-licensed>0</used-licensed>

<needed>0</needed>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</feature-summary>

<feature-summary>

<name>ax411-wlan-ap</name>

<description>AX411 WLAN AP</description>

<licensed>2</licensed>

<used-licensed>0</used-licensed>

<used-given>0</used-given>

<needed>0</needed>

<validity-type>permanent</validity-type><needed>0</needed>validity-type>permanent</validity-type

</feature-summary>/license-usage-summary>license-information>

<licenses-installed/>license>name>JUNOS233822</name>

<license-state>valid</license-state>

<license-version>2</license-version>device-reference>AD3009AA0001</device-reference>

<feature-blockfeature junos:style="datebased-feature">

<name>idp-sig</name>description>IDP Signature</description>

<validity-information>

<validity-type>date-based</validity-type>

<start-date junos:seconds="1258416000">2009-11-17</start-date>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</validity-information>/feature>/feature-block>/license></feature-block>

</license>

<license>

<name>JUNOS233823</name>

<license-state>valid</license-state>

<license-version>2</license-version>

<device-reference>AD3009AA0001</device-reference>

<feature-block>

<feature junos:style="datebased-feature">

<name>av_key_kaspersky_engine</name>

<description>Kaspersky AV</description>

<validity-information>

<validity-type>date-based</validity-type>

<start-date junos:seconds="1258416000">2009-11-17</start-date>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</validity-information>

</feature>

</feature-block>

</license>

<license>

<name>JUNOS233824</name>

<license-state>valid</license-state>

<license-version>2</license-version><license-state>valid</license-state>

<license-version>2</license-version>

<device-reference>AD3009AA0001</device-reference>

<feature-block>feature junos:style="datebased-feature">

<name>anti_spam_key_sbl</name>scription>Anti-Spam</description>validity-information>

<validity-type>date-based</validity-type

<start-date junos:seconds="1258416000">2009-11-17</start-date>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</validity-information>

</feature>/feature-block>/license>license>name>JUNOS233825</name>

<license-state>valid</license-state>

<license-version>2</license-version>

<device-reference>AD3009AA0001</device-reference>

<feature-block>feature junos:style="datebased-feature">

<name>wf_key_surfcontrol_cpa</name><feature junos:style="datebased-feature">

<name>wf_key_surfcontrol_cpa</name>

<description>Web Filtering</description>

<validity-information>

<validity-type>date-based</validity-type>

<start-date junos:seconds="1258416000">2009-11-17</start-date>

<end-date junos:seconds="1273968000">2010-05-16</end-date>

</validity-information>

</feature>

</feature-block>

</license>

</license-information>

</license-summary-information>