[Contents] [Prev] [Next] [Index] [Report an Error]

How Configuration Association Works

JUNOScope enables you to import configuration files using the Import feature and store the imported files in the server. You can associate an imported configuration file with a set of criteria. JUNOScope returns a configuration file to a device if the attributes of the requesting device match its associated criteria.

  1. First, the device sends a request to the JUNOScope server. This request is in the form of a URL which contains device details such a hostname, model, OS version, and serial number. The URL that the device uses to send a request to the configuration server has this format:

    http://< ACS server >:< port >/jtk/download/config/getURL?hostname=?& osVersion=?&model=?&serialNumber=?

    Where ACS server is the ip address or hostname of the JUNOScope server.

    For example, the URL that the device uses to send a request with values asd for hostname, asdf for OS Version, sdf for model, and sdfg for serial number is as follows:

    http://junoscope-server/ jtk/ download/ config/ getURL?hostname=asdf& osVersion=asdf& model=sdf& serialNumber=sdfg

  2. When JUNOScope receives the request, it compares the device attributes with the criteria of the configuration associations on the server. JUNOScope starts comparing the device attributes with the criteria of the first configuration association in the list. The comparison is done till a match is found or till it reaches the end of the list.
  3. If the device attributes match the criteria in a configuration association, JUNOScope constructs a URL which contains the configuration file and returns the URL to the device.

    If no match is found, and the default option is set (See Table 21), JUNOScope returns the URL of the default configuration file.

    The URL which JUNOScope returns to the device has this format:

    http://< ACS server >:< port >/jtk/download/config/getConfig?configName=< ConfigPath >configVersion=< ConfigRevision >

    For example, the URL which JUNOScope returns to the device with values user-supplied/ archivedHCL for configName, and 1.1 for configVersion is as follows:

    http://junoscope-server/ jtk/ download/ config/ getConfig? configName=user-supplied/ archivedHCL& configVersion=1.1

    If no match is found, and the default option is not set, JUNOScope returns an HTTP 404 error to the device.

  4. The device uses this URL to download the configuration file.

[Contents] [Prev] [Next] [Index] [Report an Error]