Use > Server Automation > OGFS directories > Network directories

Network directories

For NA, the top level of the opsw directory includes the following subdirectories:

/opsw/
      . . .
      NetModel/
      NetOS/
      NetType/
      Network/
      .Network.ID/
      . . .
      Script/Network

/opsw/Network directory

This directory organizes the devices by their model, OS, type, and group. All network devices are in the /opsw/Network/@ directory. The Changelog directory contains time-stamped events for the device. The Config directory contains time-stamped configuration files.

At the top level, the /opsw/Network directory has the following structure:

/opsw/Network/
             @/
device-1/
                   attr/
                   ChangeLog/
                   Config/
                   info
                   method/
                   Module/
                   Port/
port-1/
                          .id
                           info
                           Link/
port-2/
                       . . .
                   self
                   Vlan/
device-2/
                . . .
             @Group/
             @NetModel/
             @NetOS/
             @NetType/

The Port and VLAN directories contain Layer 2 information. Within each subdirectory of the Port directory, an info file contains duplex information and other data for a specific network port. The Link directory contains a symbolic link to a server interface or a port on another network device (if the MAC address to the interface or port is available). In the following example, the eth0 under Network is a symbolic link to eth0 under Server:

/opsw/Network/@/sw-ee-1-2b/Port/FastEthernet0_1/Link/eth0
     symbolic link to -->
/opsw/Server/@/m180.mycomp.com/Interface/eth0

Similarly, the Server directory can have a symbolic link to the corresponding entry under Network:

/opsw/Server/@/x.mycomp.com/Interface/eth0/Link/FastEthernet0_7
      symbolic link to -->
/opsw/Network/@/sw-ee-2-4a/Port/FastEthernet0_7/eth0

/opsw/Network/@Group directory

This directory does not contain groups for managed servers. This directory filters network devices according to their groups:

group-1/
   @/ (all devices in group-1)
      device-1/
      . . .
   @NetModel/
   @NetOS/
   @NetType/
child-group-1/
      @ (all devices in child-group-1)
         device-1/
         . . .
child-group-2/
   . . .
group-2/
   @/ (all devices in group-2)
   . . .

/opsw/NetModel directory

This directory contains subdirectories for vendors, for example,
/opsw/NetModel/Cisco. The /opsw/NetModel directory has the following structure:

vendor-1/
 model-1/
             @/
             @Group/
             @NetOS/
             @NetType/
model-2/
. . .
vendor-2/
. . .

/opsw/NetOS directory

This directory organizes devices by their operating system. The /opsw/NetModel directory has the following structure:

family-1/
os-1/
        @/
        @Group/
        @NetOS/
        @NetType/
os-2/
      . . .
. . .
family-2/
. .

/opsw/NetType directory

This directory organizes network devices by the following types:

Firewall
L3Switch
L4to7Switch
Proxy
Router
Switch
unknown
VPN
Wireless Access Point
WirelessAP
The /opsw/NetType directory has the following structure:
type-1/
 
      @/
      @Group/
      @NetOS/
      @NetType/
type-2/
. . .

/opsw/Script/Network directory

This directory contains utility scripts for network devices. For information about these scripts, see the NA documentation.

/opsw/Script/Network/
                     Advanced/
                     Command/
                     Diagnostic/