Configuring connectivity types

You can create or edit connectivity types for use in the Hop View and the Network Views.

You can display different types of connectivity in the Network Hop View and the Network Views. For example, you can display Layer 1, Layer 2, Layer 3, or IP subnets connectivity. You can also define your own connectivity types.

To configure a connectivity type, complete the following steps:

  1. On the server where the Network Manager Web components are installed, back up and edit the appropriate file:
    • For US English, edit the file $NMGUI_HOME/profile/etc/tnm/locale/ncp_layertypes.properties.
    • For other languages, create or edit the file $NMGUI_HOME/profile/etc/tnm/locale/ncp_layertypes_lang_country.properties, where lang is the two-letter language code, and country is the two-letter country code.
    For example, to define a new layer type in Brazilian Portuguese, edit the file ncp_layertypes_pt_BR.properties.
  2. Add a line to create a new connectivity type, or edit or delete the line for an existing connectivity type.
    To create a new layer of type "Pseudo Wire":
    connectivity.77:Pseudo Wire
    
    In this example, the number 77 is the value of the entityType field from the ncim.entityType topology database that corresponds to Pseudo Wire Topology. You can choose a different entityType, as long as it has a metaClass of Topology. Pseudo Wire is the name that will be displayed in the Connectivity menu.
    Important: Do not delete or modify the default connectivity types Layer 1, Layer 2. Layer 3, IP Subnets, or Converged Topology.
  3. Edit or create the following file: $NMGUI_HOME/profile/etc/tnm/locale/ncp_layertypes_lang_country.properties and add a line similar to the following:
    connectivity.name:number

    Where name is the name by which the layer is to be referred to in dynamic templates, for example, in the ip_default.xml file. The name can be any combination of lowercase letters, digits and underscores. By convention, the name is the same as the name that you used in the ncp_layertypes_lang_country.properties file, converted to lowercase and with spaces removed. Refer to IP network view template XML code to see how layer names are referred to in template files, for example: connectivity="ipsubnets".

    The connectivity number number must match the number that you added in the ncp_layertypes_lang_country.properties file.

  4. Save and close the file.