<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Inventory resources</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=2690996" />
  <subtitle>Inventory resources</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=2690996</id>
  <updated>2013-05-23T08:43:54Z</updated>
  <dc:date>2013-05-23T08:43:54Z</dc:date>
  <entry>
    <title>RE: Inventory resources</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2716814" />
    <author>
      <name>Josh Singer</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2716814</id>
    <updated>2010-11-05T22:57:50Z</updated>
    <published>2010-11-05T22:57:50Z</published>
    <summary type="html">[quote]Hi,
 
How can I change the password for access devices?, what is the syntax for inventory.properties file?.
 
Thanks[/quote]

Hi Jose, 
 
In the current CDN public release of XDE/PAL (1.0.284) the format is as follows
 
It's a standard Java properties file where each line has the following syntax:
 
&lt;deviceID&gt;-&lt;attributeName&gt;=&lt;value&gt;
 
The key inventory attributes to set for Telnet-based CLI access are the following:
 
{Java attribute name, Property file attribute name, Default Value}
 

{InventoryProperties.CLI_ENABLE_PASSWORD, "enablepassword", "cisco"} 
{InventoryProperties.CLI_LOGIN_PASSWORD, "loginpassword", "admin"}
{InventoryProperties.CLI_LOGIN_USERNAME, "loginusername", "nouser"}
{InventoryProperties.CLI_TRANSPORT, "transport", "telnet"}
{InventoryProperties.CLI_PORT, "port", "23"}
{InventoryProperties.CLI_ADDRESS, "address", ""}
{InventoryProperties.SOFTWARE, "software", "IOS"}

 
Note that device ID is not the hostname, domain name or ip address, it is just an ID which you would use from XDE/PAL.
 
So for a device with ID "myRouter1"  you might have the following in your inventory.properties file
 
myRouter1-address=10.34.64.125
myRouter1-loginusername=josh
myRouter1-loginpassword=josh123
myRouter1-enablepassword=josh123
myRouter1-software=IOS
myRouter1-transport=telnet
myRouter1-port=23
 
You can store details of multiple devices in the file.
 
In later releases of the SDK an XML-based file format is also supported and there is SDK support for editing the file, so watch this space.
 
Regards, 
 
Josh Singer 
XDE/PAL dev team
SPMABU
NMTG
Cisco</summary>
    <dc:creator>Josh Singer</dc:creator>
    <dc:date>2010-11-05T22:57:50Z</dc:date>
  </entry>
  <entry>
    <title>Inventory resources</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2690995" />
    <author>
      <name>Jose Enrique Palacios Gimenez</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2690995</id>
    <updated>2010-10-29T02:48:27Z</updated>
    <published>2010-10-29T02:48:27Z</published>
    <summary type="html">Hi,
 
How can I change the password for access devices?, what is the syntax for inventory.properties file?.
 
Thanks</summary>
    <dc:creator>Jose Enrique Palacios Gimenez</dc:creator>
    <dc:date>2010-10-29T02:48:27Z</dc:date>
  </entry>
</feed>

