...
Code Block |
---|
%hash = ( '-common-' => { # lots of lines skipped }, 'custom' => { # the custom model options go here }, # and the rest of the model follows here 'interface' => { ... |
An example custom
section is shown below, which contains default settings, ie. as if the custom section was not present at all. You'll find a description of each of the features in more detail in the next sections.
...
When enabled, the IP address table will not be updated when a single interface is being updated.
Model custom - interface - skipIfType skipIfDescr
Skip Interfaces is used for mega devices to get rid of unwanted interfaces. Big SP switches for example. If skipIfType or skipIfDescr regex is matched, then just skip this interface all together. Must be used with ifNumber = false, ifAdminStatus = false, ifLastChange = false, ifTableLastChange = false
For example, skip all the PPP interfaces on a DSLAM so you can monitor the Ethernet uplinks.
Code Block |
---|
'skipIfType' => 'ppp', 'skipIfDescr' => 'Virtual-Access|noSuchInstance' |