Getting Started With The Web Client: Requirements
Getting Started With The Web Client: Requirements
Requirements
The Web Client is installed on the OmniVista Server and can be accessed through the following
web browsers:
• Windows - Internet Explorer Versions 6.0, 7.0, 8.0, and 9.0 (9.0 is not supported on
Windows XP). Firefox Versions 4.0, 5.0, 11.0.
• Linux - Firefox Versions 4.0 and 5.0.
• Sun Solaris - Firefox Versions 3.0.
Your browser preferences (or options) should be set up as follows:
• Cookies should be enabled. Typically, this is the default.
• JavaScript must be enabled/supported.
• Java must be enabled.
• Style sheets must be enabled; that is, the colors, fonts, backgrounds, etc., of web pages
should always be used (rather than user-configured settings).
• Checking for new versions of pages should be set to "Every time" your browser opens.
Note: Typically, many of these settings are configured as the default. Different browsers
(and different versions of the same browser) may have different dialogs for these settings.
Check your browser help pages if you need help.
1
OmniVista 3.5.4 Web Interface Help
2. Enter the OmniVista user name and password and click Login. The following screen will
appear.
2
OmniVista 3.5.4 Web Interface Help
The Web Client Topology screen provides a listing and description of all discovered switches.
From here, you can perform OmniVista Topology functions. You can also click on the End
Station Search or End Station Browse tabs to access Locator functions; or click on the Traps tab
to access Notifications Functions.
Topology
The Topology application within the OmniVista Web Client is used to access the OmniVista
"List of All Discovered Devices". The table, available under the Topology tab, provides basic
information for all physical devices in the network, including all devices discovered by
OmniVista, as well as any devices that were added manually. You can customize the table
display, sort the information in the table by column, create filters to view specific information
and export the information to a .CSV file. You can also access web-based management tools
(e.g., WebView) for individual AOS switches listed in the Topology Table.
Table Display
You can set the number of rows that you want displayed on each page by entering the number of
rows you want to display (e.g., 12), then clicking the Set Rows button. If a table spans several
pages, click Next or a specific page number at the top left corner of the table to page through the
table.
Note: A maximum row setting of 100 is advised. Larger row settings can increase the time
it takes to populate the table.
3
OmniVista 3.5.4 Web Interface Help
You can also configure the columns you want to display. Click on Visible Columns and select
all of the columns you want to display. De-select any columns you want to hide. The new
settings will remain in effect until you log out of the session. By default, all columns are
displayed.
The refresh function is disabled by default. To enable it, enter a value (in seconds) in the
Refresh Interval field, and click the Start Refresh button (the refresh function will be enabled
and the Start Refresh button will change to Stop Refresh). To disable the refresh function, click
the Stop Refresh button. The default refresh interval is 30 seconds (this is also the minimum
refresh interval).
Column Definitions
Address: The IP address of the device.
DNS Name: The name of the device, if applicable.
Version: The version number of the device firmware. Version numbers are not displayed for
certain non-XOS devices.
Type: The type of the device chassis.
Last Upgrade Status: The status of the last firmware upgrade on the switch:
• "Successful" - Successful BMF and Image upgrade performed.
• "Successful (BMF)" - Successful BMF upgrade performed.
• "Successful (Image)" - Successful Image upgrade is performed.
• "Failed (BMF, Image)" - BMF and Image upgrade failed.
• "Failed (BMF)" - BMF upgrade failed.
• "Failed (Image)" - Image upgrade failed.
In all "Failed" cases, "Reload From Working" will be disabled on the switch until a successful
upgrade is performed.
Backup Date: The date that the device's configuration and/or image files were last backed-up to
the OmniVista server.
Backup Version: The firmware version of the configuration and/or image files that were last
backed-up to the OmniVista server.
Last Known Up At: The date and time when the last poll was initiated on the device.
Description: A description of the device, usually the vendor name and model.
Status: This field displays the operational status of the device.
• Up - Device is up and responding to polls.
• Down - Device is down and not responding to polls.
• Warning - Device has sent at least one warning or critical trap and is thus in the warning
state.
Traps: This field indicates the status of trap configuration for the device.
• On - Traps are enabled.
4
OmniVista 3.5.4 Web Interface Help
5
OmniVista 3.5.4 Web Interface Help
is the current operating parameters of the switch, which are originally loaded from the certified
or working directory but may have been modified through CLI commands, WebView
commands, or OmniVista. Modifications made to the running configuration must be saved to the
working directory (or lost). The working directory can then be copied to the certified directory if
and when desired. Click here for more information.
Changes: For AOS devices, this field indicates the state of changes made to the switch's
configuration. This field is blank for all other devices. This field can display the following
values:
• Unsaved - Changes have been made to the running configuration of the switch that have
not been saved to the working directory.
• Uncertified - Changes have been saved to the working directory, but the working
directory hasn't been copied to the certified directory. The working directory and the
certified directory are thus different.
• Blank - When this field is blank for an AOS device, the implication is that OmniVista
knows of no unsaved configuration changes and assumes that the working and certified
directories in flash memory are identical.
OmniVista is now capable of tracking AOS configuration changes made through CLI commands
or WebView, and so will reflect configuration changes made outside of OmniVista through these
two interfaces in the Changes field. Information in the Changes field will be accurate as long as
OmniVista has polled the switch since the last change was made (through any interface).
Note that it is possible a switch could be in a state where it is both Unsaved and Uncertified. In
this situation Unsaved displays in the Changes field. Whenever an AOS device is in the Unsaved
or Uncertified state, a blue exclamation mark displays on its icon ( ).
Sorting Information
You can sort the Discovered Devices Table in ascending or descending order by clicking on a
column heading.
Filtering Information
You can filter the information in the table to display specific switch information.
1. Select a column heading from the first Filter drop-down menu (e.g., Address, DNS Name).
2. Select an operator from the second Filter drop-down menu (e.g., Equals, Starts With).
3. Enter a value in the last Filter field (e.g., "9600").
For example, to view a list of 9600 devices, you would select "Type", "Equals", and enter "9600"
in the last field).
4. When you have entered all of the filter criteria, click the Filter button. The results will be
displayed in the OmniVista Web Topology Table. To further refine the filter, enter a new set of
filtering criteria and click the Refine Filter button to display a list of devices matching both sets
of filters.
Note: You can display the results of previous filters by clicking the browser's Back button.
The OmniVista Web Client will display up to eight (8) previous results in a single login
session.
6
OmniVista 3.5.4 Web Interface Help
To start over and create a new filter, click the New Query button and repeat Steps 1 - 4.
Exporting Information
To export the table to a .CSV file, filter the information (if applicable), the click the Export
button. Click Yes at the Security prompt, then select the directory in which you want to save the
file.
Web-Based Management
You can also access web-based management tools (e.g., WebView) for individual AOS switches
listed in the Topology Table by clicking on the switch's IP address in the Topology Table. If a
switch has web-based management capabilities, the login screen for the switch will appear. A
WebView Login Screen is shown below.
Locator
The OmniVista Locator application within the OmniVista Web Client is a search tool that
enables you to search for end stations connected to switches in the network. The End Station
Search tab enables you to locate a switch that is directly connected to a user-specified end
station. The End Station Browse tab enables you search in the "opposite direction". Instead of
entering an end station's address to locate the switch and slot/port to which the end station is
connected, you can search for and list ALL end stations connected to user-specified switch ports.
The end stations are located by searching the historical database.
7
OmniVista 3.5.4 Web Interface Help
The search results display a list of devices in a table that provides basic information for each
device. You can customize the table display, sort the information in the table by column, and
create filters to view specific information. You can also export the information to a .CSV file.
Note: The Locator application within OmniVista provides the option of performing either
a Live Search (searches network switches in real time) or Historical search (searches a
database of information that was previously established by polling network switches).
However, the Locator application within the OmniVista Web Client performs only the
Historical Search.
Although you can enter an end station's IP address, MAC address, or Authenticated User to
locate the switch and slot/port that is directly connected to the end station, Locator actually
searches for the end station's MAC address. If you enter an IP address, the first thing Locator
does is find the corresponding MAC address. This MAC address is displayed in the OmniVista
Web Service Locator table with a time stamp indicating when the information was obtained
(last time the device was polled).
8
OmniVista 3.5.4 Web Interface Help
9
OmniVista 3.5.4 Web Interface Help
To browse for end stations select the switch(es) in which you are interested, then click the Next
button. To select multiple switches, use the Shift or Ctrl keys. The results will appear in the
OmniVista Web Service Locator Browse table. By default, the table is initially sorted in
ascending order by IP address. You can sort the data by column heading (ascending/descending)
or apply filters to the table to display specific information. You can also export the information
to a .CSV file. Click here for column heading definitions.
Table Display
You can set the number of rows that you want displayed on each page by entering the number of
rows you want to display (e.g., 12), then clicking the Set Rows button. If a table spans several
pages, click Next or a specific page number at the top left corner of the table to page through the
table.
Note: A maximum row setting of 100 is advised. Larger row settings can increase the time
it takes to populate the table.
You can also configure the columns you want to display. Click on Visible Columns and select
all of the columns you want to display. De-select any columns you want to hide. The new
settings will remain in effect until you log out of the session. By default, all columns are
displayed.
Column Definitions
Searched IP Address: The IP address of the end station connected to the selected device.
Searched MAC Address: The MAC address of the end station connected to the selected device.
10
OmniVista 3.5.4 Web Interface Help
Searched DNS Name: The DNS name of the end station connected to the selected device.
Device IP Address: The IP address of the device connected to the end station.
Device DNS: The DNS of the device connected to the end station.
Device Name: The name of the device connected to the end station.
Slot/Port: The slot/port of the device connected to the end station.
Port Status: The port status of the device connected to the end station.
Port Speed: The port speed of the device connected to the end station.
Duplex Mode: The duplex mode (half duplex, full duplex, or auto duplex) of the selected device
connected to the end station.
Disp: The interface disposition (Bridging/Filtering)
Domain: The type of broadcast domain (e.g., VLAN)
ID: The VLAN ID associated with the device connected to the end station.
Timestamp: The time the information was gathered.
Auth User: The 802.1x Authenticated User associated with the device connected to the end
station.
UNP: The User Network Profile (UNP) that the device is associated with, if applicable.
VRF ID: If multiple VRFs are configured on the device, the VRF ID is displayed. If none are
configured (and if the feature is not available on the device), the column will display "Default",
indicating that the switch is operating as a single routing instance. (The Multiple VRF feature is
only available on 9000E Series Switches and 6855-U24X Switches, Release 6.4.1 and newer).
Sorting Information
You can sort the Locator Browse Table in ascending or descending order by clicking on a
column heading.
Filtering Information
You can filter the information in the table to display specific switch information.
1. Select a column heading from the first Filter drop-down menu (e.g., Device IP Address,
Device DNS).
2. Select an operator from the second Filter drop-down menu (e.g., Equals, Starts With).
3. Enter a value in the last Filter field (e.g., "9600").
For example, to view a list of devices in the Test Network, you would select "Device DNS",
"Contains", and enter "testnet" in the last field).
4. When you have entered all of the filter criteria, click the Filter button. The results will be
displayed in the Locator Table. To refine the filter, enter a new set of filtering criteria and click
the Refine Filter button to display a list of devices matching both sets of filters.
11
OmniVista 3.5.4 Web Interface Help
Note: You can display the results of previous filters by clicking the browser's Back button.
The OmniVista Web Client will display up to eight (8) previous results in a single login
session.
To start over click the New Query button.
Exporting Information
To export the table to a .CSV file, use the browse function to locate the devices and populate the
Locator Browse Table, filter the information (if applicable), then click the Export button. Click
Yes at the Security prompt, then select the directory in which you want to save the file.
Notifications
The Notifications application within the OmniVista Web Client is used to monitor switch
activity through the OmniVista Web Traps Table. The table, available under the Traps tab,
displays information on all alarms and traps received by the OmniVista Server. You can
customize the table display, sort the information in the table by column, and create filters to view
specific information. You can also export the information to a .CSV file.
Note: If the table is not displaying any notifications, it may be that none of your
discovered switches have been configured to send traps to the OmniVista server.
12
OmniVista 3.5.4 Web Interface Help
Table Display
You can set the number of rows that you want displayed on each page by entering the number of
rows you want to display (e.g., 12), then clicking the Set Rows button. If a table spans several
pages, click Next or a specific page number at the top left corner of the table to page through the
table.
You can also configure the columns you want to display. Click on Visible Columns and select
all of the columns you want to display. De-select any columns you want to hide. The new
settings will remain in effect until you log out of the session. By default, all columns are
displayed.
By default, up to 1,000 traps are displayed. However, you can configure the display by entering a
number in the Traps Limit field, and clicking the Set The Max Number of Traps button.
When the configured maximum number is reached, the newest traps overwrite the oldest traps.
The refresh function is disabled by default. To enable it, enter a value (in seconds) in the
Refresh Interval field, and click the Start Refresh button (the refresh function will be enabled
and the Start Refresh button will change to Stop Refresh). To disable the refresh function, click
the Stop Refresh button. The default refresh interval is 30 seconds (this is also the minimum
refresh interval).
Column Definitions
Name: The name of the trap as defined in the MIB.
Synopsis: A brief description of the trap.
Agent: The IP address of the switch that generated the trap.
Agent Name: The name of the switch that generated the trap.
Date/Time: The date and time the trap was received by the OmniVista server, using the
OmniVista server's system clock.
Severity: The severity level assigned to the trap in the Notifications Application's Trap
Definitions Window:
• Normal
• Warning
• Minor
• Major
• Critical.
Acknowledged: Indicates whether or not the trap has been acknowledged. "true indicates an
acknowledged trap. "false" indicates that the trap that has yet been acknowledged, or the
acknowledgement has been renounced.
Sorting Information
You can sort the OmniVista Web Traps Table in ascending or descending order by clicking on
a column heading.
13
OmniVista 3.5.4 Web Interface Help
Filtering Information
You can filter the information in the table to display specific switch information.
1. Select a column heading from the first Filter drop-down menu (e.g., Name, Severity).
2. Select an operator from the second Filter drop-down menu (e.g., Equals, Starts With).
3. Enter a value in the last Filter field (e.g., "OS9600").
For example, to view a list of all traps with a Severity Level of "Major", you would select
"Severity" in the first field, "Equals" in the second, then enter "Major" in the last field).
4. When you have entered all of the filter criteria, click the Filter button. The results will be
displayed in the OmniVista Web Traps Table. To further refine the filter, enter a new set of
filtering criteria and click the Refine Filter button to display a list of devices matching both sets
of filters.
Note: You can display the results of previous filters by clicking the browser's Back button.
The OmniVista Web Client will display up to eight (8) previous results in a single login
session.
To start over and create a new filter, click the New Query button and repeat Steps 1 - 4.
Exporting Information
To export the table to a .CSV file, filter the information (if applicable), the click the Export
button. Click Yes at the Security prompt, then select the directory in which you want to save the
file.
14
OmniVista 3.5.4 Web Interface Help
Common Behaviors
Web Service
• Any of the function calls listed below, which attempt to delegate work to the private back
end server, return a Fault if they are unable to contact the private back end.
• The web service requires that the first call of a session be the login call, which defines a
login session.
• The web service requires that all non-login calls to the web service identify the login
session that they belong to by including a session cookie (see login).
• Callers to the web service are only allowed to read or modify the data belonging to the
specified login session.
• The web service supports up to 6 active login sessions (logged-in web sessions which
have not yet logged out nor expired due to inactivity).
• Login sessions expire after 30 minutes of inactivity, where activity is defined as making
any function call within that login session.
• The web service displays at least as many results (e.g., number of Locator Net Forward
results) as are supported by the traditional OmniVista “heavy” client.
• The getXxx() calls silently limit the number of returned rows to 10,000. Note that this
does not limit the number of rows returned by the queryXxx() calls; it is simply a “page
size” that limits the number of results returned at once.
15
OmniVista 3.5.4 Web Interface Help
ResultSets
Many OmniVista Web Service functions return some flavor of ResultSet. Each ResultSet
includes a uniqueId, which is passed in subsequent function calls to operate on that ResultSet.
The web service supports the creation and simultaneous existence of a minimum of 8 ResultSets
of each type (e.g., 8 TrapResultSets, 8 SwitchResultSets, etc) within each login session. When
the number of ResultSets of a given type exceeds the, OmniVista may automatically dispose of
the least-recently used ResultSet of that type, where a “use” is defined as “passing the uniqueId
of a ResultSet to a function that supports that ResultSet ID type as an input.”
Any function that accepts a ResultSet as an input, other than the disposeXxxResults() functions,
returns a Fault if no such ResultSet of the specified type exists.
Function: login
void login(
Base64 userName,
Base64 password
) throws Fault
When this function is called, OmniVista shall attempt to create a login session for the given
OmniVista user, using the given OmniVista password.
If the userName/password combination is incorrect, the function shall return a Fault.
If the maximum number of active login sessions has been reached, the function shall return a
Fault.
If the login succeeds, the response headers shall include a set-cookie header identifying the login
session ID, similar to the following example:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=65761E9ABEC4B23F0E66BA3AC3ED14D9; Path=/axis
Content-Type: text/xml;charset=iso-8859-1
Transfer-Encoding: chunked
Date: Tue, 26 Sep 2006 18:06:56 GMT
All subsequent calls that intend to execute within the newly-created login session must include
this cookie in the request headers, similar to the following example:
POST /axis/services/OVWeb1 HTTP/1.1
Host: localhost:8080
User-Agent: NuSOAP/0.7.2 (1.94)
Connection: Keep-Alive
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: ""
Content-Length: 554
Cookie: JSESSIONID=65761E9ABEC4B23F0E66BA3AC3ED14D9;
The above cookie handling is done automatically, or nearly automatically, by many web service
libraries, such as Java’s AXIS, or PHP’s NuSOAP.
OmniVista shall consider any call whose Cookie request header correctly identifies an existing
login session to be part of that login session.
Function: logout
void logout() throws Fault
16
OmniVista 3.5.4 Web Interface Help
When this function is called, OmniVista shall dispose of the current login session, defined as the
login session identified by the cookie request header (for a description of cookie handling, see
login() above).
On disposal of the login session, OmniVista shall also dispose of any cached query results that
belong to that login session.
Function: querySwitches
SwitchResultSet querySwitches(
FilterObj [] filters,
SortObj [] sorters,
long maxResults
) throws Fault
When this function is called, OmniVista shall return a filtered and sorted SwitchResultSet of up
to maxResults switches.
If more than maxResults switches are available, OmniVista shall return the first maxResults
switches which pass the given filters, if any.
If sorters is null, or the array of sorters is empty, the returned results shall be in ascending order
of switch IP address.
The returned SwitchResultSet can be passed to getSwitchData() or to any of the other functions
below which accept a SwitchResultSet.uniqueId – for example, to retrieve some of the data from
the result set, or to resort the results, or to further filter the results.
Function: getSwitchData
SwitchData [] getSwitchData(
String switchResultSet.uniqueId,
long offset,
long count
) throws Fault
When this function is called, OmniVista shall return an array of up to count SwitchData objects
from the SwitchResultSet identified by switchResultSet.uniqueId, starting at the given zero-
based row offset.
If no data is available in the SwitchResultSet starting at offset, then OmniVista shall return an
empty array of SwitchData.
Function: sortSwitchResults
SwitchResultSet sortSwitchResults(
String switchResultSet.uniqueId,
SortObj [] sorters
)throws Fault
When this function is called, OmniVista shall return a new SwitchResultSet with the identical
contents as the input switchResultSet, but sorted in the order specified by sorters.
If sorters is null, or the array of sorters is empty, the returned results shall be in the same order as
the input switchResultSet.
The input switchResultSet shall remain unchanged.
Function: refineSwitchResults
SwitchResultSet refineSwitchResults(
17
OmniVista 3.5.4 Web Interface Help
String switchResultSet.uniqueId,
FilterObj [] moreFilters
) throws Fault
When this function is called, OmniVista shall return a SwitchResultSet with the identical
contents as the input switchResultSet, but further filtered by the filters specified by moreFilters.
The input switchResultSet shall remain unchanged.
Function: disposeSwitchResults
void disposeSwitchResults(
String switchResultSet.uniqueId
) throws Fault
When this function is called, OmniVista shall dispose of the SwitchResultSet specified by the
given uniqueId.
The function shall return normally even if no such SwitchResultSet exists (since that
SwitchResultSet might have been automatically expired).
Function: queryTraps
TrapResultSet queryTraps(
FilterObj [] filters,
SortObj [] sorters,
long maxResults
) throws Fault
When this function is called, OmniVista shall return a filtered and sorted TrapResultSet of up to
maxResults traps.
The traps returned shall be from OmniVista’s “post-absorption” stream (which is the same
stream that is displayed on the traditional OmniVista “heavy” client).
If more than maxResults traps are available, OmniVista shall return the maxResults most recent
traps which pass the given filters, if any.
If sorters is null, or the array of sorters is empty, the returned results shall be in descending order
of the trap date/time (newest-first).
The returned TrapResultSet can be passed to getTrapData() or to any of the other functions
below which accept a TrapResultSet.uniqueId – for example, to retrieve some of the data from
the result set, or to resort the results, or to further filter the results.
Function: getTrapData
TrapData [] getTrapData(
String trapResultSet.uniqueId,
long offset,
long count
) throws Fault
When this function is called, OmniVista shall return an array of up to count TrapData objects
from the TrapResultSet identified by trapResultSet.uniqueId, starting at the given zero-based row
offset.
If no data is available in the TrapResultSet starting at offset, then OmniVista shall return an
empty array of TrapData.
18
OmniVista 3.5.4 Web Interface Help
Function: sortTrapResults
TrapResultSet sortTrapResults(
String trapResultSet.uniqueId,
SortObj [] sorters
)throws Fault
When this function is called, OmniVista shall return a new TrapResultSet with the identical
contents as the input trapResultSet, but sorted in the order specified by sorters.
If sorters is null, or the array of sorters is empty, the returned results shall be in the same order as
the input trapResultSet.
The input trapResultSet shall remain unchanged.
Function: refineTrapResults
TrapResultSet refineTrapResults(
String trapResultSet.uniqueId,
FilterObj [] moreFilters
) throws Fault
When this function is called, OmniVista shall return a TrapResultSet with the identical contents
as the input trapResultSet, but further filtered by the filters specified by moreFilters.
The input trapResultSet shall remain unchanged.
Function: disposeTrapResults
void disposeTrapResults(
String trapResultSet.uniqueId
) throws Fault
When this function is called, OmniVista shall dispose of the TrapResultSet specified by the
given uniqueId.
The function shall return normally even if no such TrapResultSet exists (since that TrapResultSet
might have been automatically expired).
Function: queryLocatorBrowse
LocatorResultSet queryLocatorBrowse(
String [] switchList,
FilterObj [] netFwdFilters,
SortObj [] netFwdSorters,
long maxNetFwdResults
) throws Fault
When this function is called, OmniVista shall return a filtered and sorted LocatorResultSet of up
to maxNetFwdResults NetForwardData rows.
If switchList is non-null and non-empty, switchList shall be validated to be valid DNS or
numeric IP addresses.
If switchList is non-null and non-empty, OmniVista shall limit the returned results to only those
records that match one of the given switchIp addresses.
If more than maxNetFwdResults NetForwardData rows are available, OmniVista shall return the
first maxNetFwdResults results which pass the given filters, if any.
If netFwdSorters is null, or the array of netFwdSorters is empty, the returned results shall be in
ascending order of switch IP address.
19
OmniVista 3.5.4 Web Interface Help
The returned LocatorResultSet can be passed to getNetFwdData() or to any of the other functions
below which accept a LocatorResultSet.uniqueId – for example, to retrieve some of the data
from the result set, or to resort the results, or to further filter the results.
When executing this command, OmniVista shall use the currently-available Reverse DNS
information, as opposed to the behavior on the traditional OmniVista heavy client, which begins
with the currently-available Reverse DNS information and then trickles in updates. A future
version may add support for trickle-back Reverse DNS updates).
Function: queryLocatorSearchByMac
LocatorResultSet queryLocatorSearchByMac(
String macAddress,
FilterObj [] arpFilters,
SortObj [] arpSorters,
long maxArpResults,
FilterObj [] netFwdFilters,
SortObj [] netFwdSorters,
long maxNetFwdResults
) throws Fault
When this function is called, OmniVista shall return search the OmniVista Locator database for
records pertinent to the input macAddress, and return a filtered and sorted LocatorResultSet of
up to maxArpResults ArpData rows and maxNetFwdResults NetForwardData rows.
OmniVista shall validate that macAddress is a well-formed MAC address, and throw a Fault if it
is not.
If more than the requested number of rows are available, OmniVista shall return the first results
which pass the given filters, if any.
If arpSorters is null, or the array of arpSorters is empty, the returned ArpData rows shall be in
ascending order of IP address.
If netFwdSorters is null, or the array of netFwdSorters is empty, the returned results shall be in
ascending order of switch IP address.
The returned LocatorResultSet can be passed to getArpData(), getNetFwdData() or to any of the
other functions below which accept a LocatorResultSet.uniqueId – for example, to retrieve some
of the data from the result set, or to resort the results, or to further filter the results.
When executing this command, OmniVista shall use the currently-available Reverse DNS
information, as opposed to the behavior on the traditional OmniVista heavy client, which begins
with the currently-available Reverse DNS information and then trickles in updates. A future
version may add support for trickle-back Reverse DNS updates).
Function: queryLocatorSearchByIp
LocatorResultSet queryLocatorSearchByIp(
String ipAddress,
FilterObj [] arpFilters,
SortObj [] arpSorters,
long maxArpResults,
FilterObj [] netFwdFilters,
SortObj [] netFwdSorters,
long maxNetFwdResults
) throws Fault
20
OmniVista 3.5.4 Web Interface Help
When this function is called, OmniVista shall return search the OmniVista Locator database for
records pertinent to the input ipAddress, and return a filtered and sorted LocatorResultSet of up
to maxArpResults ArpData rows and maxNetFwdResults NetForwardData rows.
OmniVista shall validate that ipAddress is a well-formed DNS or numeric IP address, and throw
a Fault if it is not.
If ipAddress is the address of a switch, rather than that of an end-station, the web service shall
nonetheless return whatever data is available in the Locator database (as opposed to the
traditional OmniVista “heavy” client, which pops up a message saying that this is the address of
a switch).
If more than the requested number of rows are available, OmniVista shall return the first results
which pass the given filters, if any.
If arpSorters is null, or the array of arpSorters is empty, the returned ArpData rows shall be in
ascending order of IP address.
If netFwdSorters is null, or the array of netFwdSorters is empty, the returned results shall be in
ascending order of switch IP address.
The returned LocatorResultSet can be passed to getArpData(), getNetFwdData() or to any of the
other functions below which accept a LocatorResultSet.uniqueId – for example, to retrieve some
of the data from the result set, or to resort the results, or to further filter the results.
When executing this command, OmniVista shall use the currently-available Reverse DNS
information, as opposed to the behavior on the traditional OmniVista heavy client, which begins
with the currently-available Reverse DNS information and then trickles in updates. A future
version may add support for trickle-back Reverse DNS updates).
Function: getArpData
ArpData [] getArpData(
String locatorResultSet.uniqueId,
long offset,
long count
) throws Fault
When this function is called, OmniVista shall return an array of up to count ArpData objects
from the LocatorResultSet identified by locatorResultSet.uniqueId, starting at the given zero-
based row offseta.
If no data is available in the LocatorResultSet starting at offset, then OmniVista shall return an
empty array of ArpData.
Function: getNetFwdData
NetForwardData [] getNetFwdData(
String locatorResultSet.uniqueId,
long offset,
long count
) throws Fault
When this function is called, OmniVista shall return an array of up to count NetForwardData
objects from the LocatorResultSet identified by locatorResultSet.uniqueId, starting at the given
zero-based row offset.
21
OmniVista 3.5.4 Web Interface Help
If no data is available in the LocatorResultSet starting at offset, then OmniVista shall return an
empty array of NetForwardData.
Function: sortLocatorResults
LocatorResultSet sortLocatorResults(
String locatorResultSet.uniqueId,
SortObj [] arpSorters,
SortObj [] netFwdSorters,
)throws Fault
When this function is called, OmniVista shall return a new LocatorResultSet with the identical
contents as the input locatorResultSet, but sorted in the order specified by arpSorters. and
netFwdSorters.
If arpSorters or netFwdSorters is null, or an array of sorters is empty, then the associated data in
the returned results shall be in the same order as the input locatorResultSet.
The input locatorResultSet shall remain unchanged.
Function: refineLocatorResults
LocatorResultSet refineLocatorResults(
String locatorResultSet.uniqueId,
FilterObj [] moreArpFilters
FilterObj [] moreNetFwdFilters
) throws Fault
When this function is called, OmniVista shall return a LocatorResultSet with the identical
contents as the input locatorResultSet, but further filtered by the filters specified by
moreArpFilters and moreNetFwdFilters.
The input locatorResultSet shall remain unchanged.
Function: disposeLocatorResults
void disposeLocatorResults(
String locatorResultSet.uniqueId
) throws Fault
When this function is called, OmniVista shall dispose of the LocatorResultSet specified by the
given uniqueId.
The function shall return normally even if no such LocatorResultSet exists (since that
LocatorResultSet might have been automatically expired).
Data: ArpData
class ArpData
{
// In the following, [Col] means:
// “Same as Col in Locator Initial Lookup Table.”
String ipAddress; // [IP Address]
String macAddress; // [MAC Address]
String dnsName; // [DNS Lookup]
LongDate timeStamp; // [Time Stamp]
}
This data type represents a single row of ARP (Address Resolution Protocol) data collected from
a switch.
22
OmniVista 3.5.4 Web Interface Help
It contains an associated IP/MAC address pair, the date and time when that address pair was read
from a switch, and the reverse DNS name known by OmniVista for that IP address at that
date/time.
Since OmniVista collects most reverse DNS data lazily, the dnsName is not guaranteed to be up-
to-date as of date/time timeStamp.
When sorting or filtering ArpData, OmniVista shall accept a FilterObj.keyName which specifies
any field of ArpData, such as ArpData.ipAddress, ArpData.macAddress, etc.
ArpData is returned by queryLocatorSearchByMac() and queryLocatorSearchByIp()
Data: Base64
Base-64 encoded data is a standard type used in web services to represent data which may
contain characters that are meaningful to XML, such as “<”, “>”, etc.
The OmniVista web service shall* use Base64 when the data being transmitted may contain such
characters.
*NOTE that we may change from Base64-encoding for some fields, such as login/password, to
URL-encoding, if this is much more convenient for the user.
Data: FilterObj
class FilterObj
{
// If true, we want objects that match, else we want those that don’t.
boolean wantMatch;
23
OmniVista 3.5.4 Web Interface Help
long numArpResults;
FilterObj [] arpFilters;
SortObj [] arpSorters;
long numNetFwdResults;
FilterObj [] netFwdFilters;
SortObj [] netFwdSorters;
}
This data type represents the results of a Locator query.
The functions that expect a LocatorResultSet.uniqueId shall return a Fault if passed the uniqueId
of another kind of ResultSet.
The numArpResults field contains the number of rows of ArpData that were returned by the
query.
The arpFilters and arpSorters fields identify the arpFilters and arpSorters, if any, that were used
to create the LocatorResultSet.
The xxxNetFwdXxx fields are similar, but apply to any NetForwardData returned by the query.
Data: LongDate
class LongDate
{
long msSinceEpochGMT;
}
This data type represents a date/time. LongDate are a documentation convention here; they will
actually be coded in the WSDL identically to the long data type.
They always contain a date/time, expressed as the (positive or negative) number of milliseconds
since midnight, January 1, 1970, Greenwich Mean Time, which is the same convention as
java.util.Date, and is easily converted to other computer date/time standards.
Data: NetForwardData
class NetForwardData
{
// In the following, [Col] means:
// “Same as Col in Locator Search Results Table.”
String endstationIpAddress; // [Searched IP Address]
String endstationMacAddress; // [Searched MAC Address]
String endstationDnsName; // [Searched DNS Name]
String switchIpAddress; // [Device IP Address]
String switchDnsName; // [Device DNS]
Base64 switchSysName; // [Device Name]
int slot; // “Slot” of [Slot/Port]
int port; // “Port” or [Slot/Port]
int ifIndex; // SNMP ifIndex assoc. with Slot/Port.
String portStatus; // [Port Status]
int portSpeed; // [Port Speed]
String portDuplexMode; // [Duplex Mode]
int vlanId; // [VLAN ID]
LongDate timeStamp; // [Timestamp]
}
This data type represents a single row in the Locator NetForward table.
24
OmniVista 3.5.4 Web Interface Help
25
OmniVista 3.5.4 Web Interface Help
26
OmniVista 3.5.4 Web Interface Help
String agentIp;
Base64 agentSysName;
String sourceIp;
String trapOID;
SnmpVar [] snmpVars;
String enterprise; // Valid for SNMP version 1 only
String enterpriseOID; // Valid for SNMP version 1 only
int generic; // Valid for SNMP version 1 only
int specific; // Valid for SNMP version 1 only
}
This data type represents a single instance of a trap notification received by the OmniVista
Server.
When filtering TrapData, OmniVista shall accept a FilterObj.keyName which specifies a leaf
field of TrapData, such as "TrapData.synopsis", "TrapData.severity", etc.
The Web Service shall accept of FilterObj.keyName in the form of
"TrapData.snmpVars[snmpVariableName].value" to filter on the values of SNMP Variables in a
trap. For example, to filter on SNMP Variable 'rndErrorDesc':, it will accept
"TrapData.snmpVars[rndErrorDesc].value".
When sorting TrapData, OmniVista shall accept a SortObj.keyName which specifies a top-level
leaf field of TrapData, such as "TrapData.synopsis", "TrapData.severity", etc. This means that
OmniVista will not sort TrapData on "TrapData.snmpVars.name" nor
"TrapData.snmpVars.value".
Data: TrapResultSet
class TrapResultSet extends ResultSet
{
long numResults;
FilterObj [] filters;
SortObj [] sorters;
}
The functions that expect a TrapResultSet.uniqueId shall return a Fault if passed the uniqueId of
another kind of ResultSet.
The numResults field contains the number of rows of data that were returned by the query.
The filters and sorters fields identify the filters and sorters that were used to create the ResultSet.
27
OmniVista 3.5.4 Web Interface Help
28
OmniVista 3.5.4 Web Interface Help
FilterObj [] moreFilters
) throws RemoteException
• When this function is called, OmniVista will return a TelnetScriptingResultSet with the
same information as the input resultSetId, but further filtered by the specified moreFilters
filter.
sortScriptFilesResults
public TelnetScriptingResultSet sortScriptFilesResults(
String resultSetId,
SortObj [] moreSorters
) throws RemoteException
• When this function is called, OmniVista will return a TelnetScriptingResultSet with the
same information as the input resultSetId, but sorted by the specified moreSorters filter.
getScriptFilesResultSet
public TelnetScriptingResultSet getScriptFilesResultSet(
String resultSetId) throws RemoteException
• Given a String identifier, return a complete ResultSet object.
getScriptFilesData
public TelnetScriptingData [] getScriptFilesData (
String resultSetId,
long offset,
long count
) throws RemoteException
• When this function is called, OmniVista will return an array of up to count
TelnetScriptingData objects from the TelnetScriptingResultSet identified by resultSetId
starting at the given zero-based row offset.
disposeScriptFilesResults
public void disposeScriptFilesResults(
final String tnsResultSet
) throws RemoteException
• This function will help OmniVista do the clean up when clients no longer need data
associated with tnsResultSet. Disposing result set’s data does not get rid of the script
files but just the queried information. No further processing can be done using the
specified tnsResultSet. The function will return normally even if no such result set exists.
29
OmniVista 3.5.4 Web Interface Help
30
OmniVista 3.5.4 Web Interface Help
31
OmniVista 3.5.4 Web Interface Help
• When this function is called, OmniVista will send back an updated String messages to
indicate what commands have been executed. The uniqueId is the task id given back to
the client contained within TelnetScriptingSendResultData object when sendScriptFile ()
is called. Elements from this array will NOT be sortable nor filterable.
cancelSendScriptTask
public TelnetScriptingSendData cancelSendScriptTask(
byte[] loginSessionCookie,
String uniqueId) throws Exception
• When this function is called, OmniVista will cancel the running task associated with the
uniqueId. All pending commands will cease to execute on any target switches and
executed commands will NOT be rolled back.
disposeSendScriptResults
public void disposeScriptSendResults(
final String uniqueId
) throws Exception
• This function should be called after the completion of every sendScriptFile() function.
This will help OmniVista reclaim resources resident on the server in time. To cancel a
sending task still in progress, cancelScriptSend() need to be invoked instead. This
function is necessary in order to cleanup resources after sending scripts.
• If not called, then clean up will happen automatically every 5 minutes for stale
subscriptions that do not get touched either by getScriptSendProgress() or
getSendScriptEventMessages() methods.
• There will be a limit of 100 stale subscriptions. If more than 100, then the system will
not proceed with sending until a slot is available. Hence, disposeScriptSendResults()
must be called every time after Send.
Query Script Log File List
A full set of functions will be provided to the user to Query the Script Log Files available in
OmniVista 2500. Following functions will be supporsted:
• queryScriptLogFiles
• refineScriptLogFilesResults
• sortScriptLogFilesResults
• getScriptLogFilesResultSet
• getScriptLogFilesData
queryScriptLogFiles
When this function is called, OmniVista will search the file system for the available scripts
pertinent to the login id. Users should only be able to view only their own files and the shared
admin files, if they are administrators.
public TelnetScriptLogFileResultSet queryScriptLogFiles(
32
OmniVista 3.5.4 Web Interface Help
FilterObj [] filters,
SortObj [] sorters,
long maxResults
) throws RemoteException
• A TelnetScriptLogFileResultSet object will be returned to be consumed by additional
calls, which will take the TelnetScriptLogFileResultSet object’s uniqueId to fetch or
manipulate data.
• If more than the requested number of rows are available and filters are specified,
OmniVista will return the first results which pass the given filters, as in other operations.
• If sorters is null, or the array of sorters is empty, OmniVista will return the results in
ascending order of the file name.
refineScriptLogFilesResults
public TelnetScriptLogFileResultSet refineScriptLogFilesResults(
String resultSetId,
FilterObj [] moreFilters
) throws RemoteException
• When this function is called, OmniVista will return a TelnetScriptLogFileResultSet
object with the same information as the input resultSetId, but further filtered by the
specified moreFilters filter.
sortScriptLogFilesResults
public TelnetScriptLogFileResultSet sortScriptLogFilesResults(
String resultSetId,
SortObj [] moreSorters
) throws RemoteException
• When this function is called, OmniVista will return a TelnetScriptLogFileResultSet
object with the same information as the input resultSetId, but sorted by the specified
moreSorters filter.
getScriptLogFilesResultSet
public TelnetScriptLogFileResultSet getScriptLogFilesResultSet(
String resultSetId) throws RemoteException
• This method just maps resultSetId to the actual ResultSet object, which contains more
information.
getScriptLogFilesData
public TelnetScriptLogFileData [] getScriptLogFilesData (
String resultSetId,
33
OmniVista 3.5.4 Web Interface Help
long offset,
long count
) throws RemoteException
• When this function is called, OmniVista will return an array of up to count
TelnetScriptLogFileData objects for the TelnetScriptLogFileResultSet object’s
resultSetId starting at the given zero-based row offset.
Script Log File Content Management
WebServices provides functions to Query/Delete content for specific Script Log File.
getScriptLogFileContent
public byte[] getScriptLogFileContent(String switchIp, String filename)
throws RemoteException
• When this function is called, OmniVista will return the content of the Script Log File
specified by switchIp and filename. The content will be returned in its entirety and in
the byte array form. Java built-in String’s constructor can take byte array to convert it to
string format.
deleteScriptLogFiles
public Integer deleteScriptLogFiles(String[] switchIPs, String[] filenames)
throws RemoteException
• This function will permanently delete the Script Log Files specified by an arrays of
switchIPs and filenames. Parameter named switchIPs is a parallel array having
corresponding values for switchIP at the same index with filenames. After being deleted,
Script Log Files will no longer be accessible.
disposeScriptLogFilesResults
public void disposeScriptLogFilesResults(
final String tnsResultSet
) throws RemoteException
• This function will help OmniVista do the clean up if clients no longer need data
associated with tnsResultSet. Disposing resultset data does not get rid of the Script Log
Files but just the queried information. The function will return normally even if no such
result set exists due to automatic expiration of session data. No further processing can be
done using the specified tnsResultSet.
34