Creating and deploying network views from templates automatically
Create network views from templates and assign them to groups or users automatically using auto-provision scripts.
About this task
- Creates a top-level dynamic view node in the Network Views Navigation Panel, using a specified name
- Generates a set of network views using a specified template, and puts the template in the top-level dynamic view node in the Navigation Panel
- Assigns the network views generated to a specified user or user group.
- Uses a specified domain.
Every 60 seconds the $NMGUI_HOME/profile/etc/tnm/autoprovision/ directory is monitored for new auto-provision scripts. When a new auto-provision script is found, the script is read and processed, and the dynamic network view referenced in the script is created and assigned to the specified user or user groups.
When a script is processed, the suffix .processed is added to the file name, whether or not any network views were created. Files which end in .processed are not processed again. If you want to rerun a script, remove the .processed from the end of the file name, so that the file name ends in .xml.
tnm.database.createDefaultNetworkView
parameter in tnm.properties
is set to true
. By default, this parameter is set to false. The default setting can
be overridden during installation by selecting the Create default Network Views
in
selected database check box in Topology Database panel.To deploy preconfigured network views automatically:
Procedure
Sample auto-provision script
The following sample auto-provision script creates a view called
NCOMS View
and creates a set of views underneath using the
dynamic view template ipdefault
. These views are assigned to
the itnmadmin
user and use the domain
NCOMS
.
<autoProvision name="NCOMS View" domain="NCOMS" accessLevel="user" accessId="itnmadmin">
<dynamicViewTemplate id="ipdefault" />
</autoProvision>