Accessing a Junos Scope Operation from an External Web Application

You can access a Junos Scope operation directly from an external Web application using a URL without having to browse to the feature. You can provide the URL to the Junos Scope operation in your application and be directed to the Junos Scope server login page. Once you submit valid credentials, you can go directly to the Junos Scope operation and skip the Junos Scope home page.

To access a Junos Scope operation, for example Looking Glass, using the URL interface, follow these steps:

  1. Start your Web browser.
  2. Enter the following Looking Glass URL in your Web browser Address text box:

    https://hostname:port-number/jtk/ui/index/looking-glass

    Where hostname is the name of the server on which the Junos Scope software is installed, and port-number is the port on which the Junos Scope Web server listens for HTTPS requests. If you do not specify a port number, the default port 8443 is used. The Junos Scope Login dialog box appears.

  3. Log in using your Junos Scope username and password. The Looking Glass window appears.

Table 1 lists URLs to the Junos Scope operations that can be accessed using the URL interface, and the permissions required to access these URLs.

Table 48: Junos Scope Operations accessible using the URL Interface

Menu

Permissions

URL

Looking Glass

Read-only users / Read-write users / Administrator

https://hostname:port-number/ jtk/ui/index/looking-glass

Looking Glass

Read-only users / Read-write users / Administrator

https://hostname:port-number/ jtk/ui/looking_glass/ show-portal

Looking Glass

Read-only users/ Read-write users / Administrator

https://hostname:port-number/jtk/ui /looking_glass/3Fdarg%3D% 2dargt% 3D%26device%3D <devicename>%26component%3D General% 26command%3D Device +Summary+Information% 26refresh %3D012

Configuration

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ /jtk/ui/index/config

Configuration > Current

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/index/current

Configuration > Current > View

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/browser/view

Configuration > Current > View

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/browser/ view?device=<devicename>

Configuration > Repository

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/index/repository

Configuration > Repository > Compare

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/cm/wizard/ compare?cocoon-action-start=true

Configuration > Repository > Display

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/cm/wizard/ display?cocoon-action-start=true

Inventory Management

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/index/inventory

Inventory Management > Reports

Read-only users/ Read-write users / Administrator

https://hostname:port-number/jtk/xreporter/en-US/ datasources

Inventory Management > Reports > Inventory

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/xreporter/en-US/ reportcatalog?dataSourceId=ims-ds

Inventory Management Reports > Demo

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/xreporter/en-US/ reportcatalog? dataSourceId=demo-ds

Inventory Management Reports > Custom

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/xreporter/en-US/ savedreports

Monitor

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/index/monitor

Monitor > Operations

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/cm/wizard/ operation?cocoon-action-start=true

Monitor > Status

Read-only users/ Read-write users / Administrator

https://hostname:port-number/ jtk/ui/cm/wiz/status/

Configuration > Current > Edit

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/browser/edit

Configuration > Current > Edit

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/browser/ edit?device=<devicename>

Configuration >Repository > Archive

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/cm/wizard/ archive?cocoon-action-start=true

Configuration > Repository > Archive Tags

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/cm/wiz/archive-tag-list/1

Configuration > Repository > Audit Configurations

Read-write user/ Administrator

https://hostname:port-number / jtk/ui/cm/wiz/ archive-tags?op=audit-config

Configuration > Repository > Import

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/cm/wizard/ import?cocoon-action-start=true

Configuration > Repository > Restore

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/cm/wizard/ restore?cocoon-action-start=true

Configuration > Repository > Delete

Read-write user/ Administrator

https://hostname:port-number / jtk/ui/cm/wiz/ config?op=config-delete-select

Configuration > Repository > Save

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/cm/wiz/ config?op=config-download-select

Configuration > Repository > Edit

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/cm/wiz/ config?op=config-edit- select

Configuration > Repository > Scripts

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/cm/wiz/ script?op=scriptList

Inventory Management > Scan

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/ims/wizard/ scan?cocoon-action-start=true

Inventory Management > Repository

Read-write user/ Administrator

https://hostname:port-number / jtk/ui/index/ xreporter-select-repository

Inventory Management > Repository > Schedule

Read-write user/ Administrator

https://hostname:port-number/jtk/ui/ admin/wiz/ schedule-report/

Inventory Management> Repository > View

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/admin /wiz/ report-filter/

Software Management

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/index/swmgr

Software Management > Images

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/swmgr/ wiz/image-list/1

Settings

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/index/settings

Settings > Saved Operations

Read-write user/ Administrator

https://hostname:port-number/ jtk/ui/admin /wiz/operation-list/1

Monitor > Audit Log

Administrator

https://hostname:port-number/ jtk/ui/cm/wiz/events/

Monitor > Purge

Administrator

https://hostname:port-number /jtk/ui/index/purge

Monitor> Purge > Status

Administrator

https://hostname:port-number /jtk/ui/cm/wiz/ purge?op=statusPurge

Monitor > Purge > Audit Log

Administrator

https://hostname:port-number /jtk/ui/cm/wiz/ purge?op=eventsPurge

Settings > Authentication Information

Administrator

https://hostname:port-number /jtk/ui/admin/ wizard/access% 3Fcocoon-action-start% 3Dtrue% 26cocoon-xmlform-view% 3DauthenticationList

Settings > Access Methods

Administrator

https://hostname:port-number /jtk/ui/admin/wizard/ access?cocoon-action-start=true

Settings > Devices

Administrator

https://hostname:port-number /jtk/ui/admin/wizard/ devices?cocoon-action-start=true

Settings > Groups

Administrator

https://hostname:port-number /jtk/ui/admin/wizard/ groups?cocoon-action-start=true

Settings > Labels

Administrator

https://hostname:port-number /jtk/ui/admin/wiz/ label-list/1

Settings > Schedules

Administrator

https://hostname:port-number /jtk/ui/admin/wizard/ schedules?cocoon-action-start=true

Settings > Users

Administrator

https://hostname:port-number /

jtk/ui/index/usersSettings

Settings > Users > Local Authentication

Administrator

https://hostname:port-number /jtk/ui/admin/wizard/ users?cocoon-action-start=true

Settings > Users > User Group Authorization

Administrator

https://hostname:port-number /jtk/ui/admin/wiz/ authorization/1?op=list

Settings > Users > Authentication Policy

Administrator

https://hostname:port-number /jtk/ui/index/authPolicy

Settings > Users > Authentication Policy > Global Authentication Policy

Administrator

https://hostname:port-number /jtk/ui/admin/wiz/ globalAuthPolicy?op=edit

Settings > Users > Authentication Policy > User-Specific Authentication Policy

Administrator

https://hostname:port-number /jtk/ui/admin/wiz/ auth-policy-list/1

Settings > Radius Configuration

Administrator

https://hostname:port-number /jtk/ui/admin/wizard/ radiusClients?cocoon-action-start=true

Settings > Import/Export Data

Administrator

https://hostname:port-number /jtk/ui/admin/wizard/ exim-wiz%3Fcocoon-action-start%3Dtrue%26 table_name%3Dall

You can also access any of the Junos Scope operations listed inTable 48 directly from an external Web application using a URL, without logging in using the Junos Scope server login page. You can provide the URL to the Junos Scope operation in your application with the username and password added to the URL. You will be directed to the Junos Scope operation without having to log in a second time.

To access a Junos Scope operation, for example Looking Glass, without logging in using the Junos Scope sever, follow these steps:

  1. Start your Web browser.
  2. Enter the following Looking Glass URL, with the username and password added, in your Web browser Address text box:

    https://hostname:port-number /jtk/noauth-auth?username=<username> &password =<password>&redirectLoc=ui/index/looking-glass

    Where hostname is the name of the server on which the Junos Scope software is installed, port-number is the port on which the Junos Scope Web server listens for HTTPS requests (if you do not specify a port number, the default port 8443 is used), and <username>and <password>are credentials you use to log in to the server. The Looking Glass window appears.

Note: For features that involve multiple screen selection, including wizards, only URLs to the initial screen are supported.