/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