Sha256: a2c1203fb2ffd268760c5c8306192c165ec4ce0658265e4442fba5f817c687cc

Contents?: true

Size: 915 Bytes

Versions: 7

Compression:

Stored size: 915 Bytes

Contents

# Lenovo Network OS

## Remove unstable lines

Some configuration lines change each time you issue the `show running-config` command. These are strings with user passwords and keys (TACACS, RADIUS, etc). In order not to create many elements in the configuration history, these changing lines can be replaced with a stub line. This is what the `remove_unstable_lines` variable is for. Configuration example:

```yaml
vars:
  remove_unstable_lines: true
```

Alternatively map a column for the `remove_unstable_lines` variable.

```yaml
source:
  csv:
    map:
      name: 0
      ip: 1
      model: 2
      group: 3
    vars_map:
      remove_unstable_lines: 4
```

If the value of the variable is `true`, then changing lines will be replaced with a `<unstable line hidden>` stub. Otherwise, the configuration will be saved unchanged. The default value of the variable is `false`.

Back to [Model-Notes](README.md)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
oxidized-0.32.1 docs/Model-Notes/LenovoNOS.md
oxidized-0.32.0 docs/Model-Notes/LenovoNOS.md
oxidized-0.31.0 docs/Model-Notes/LenovoNOS.md
oxidized-0.30.1 docs/Model-Notes/LenovoNOS.md
oxidized-0.30.0 docs/Model-Notes/LenovoNOS.md
oxidized-0.29.1 docs/Model-Notes/LenovoNOS.md
oxidized-0.29.0 docs/Model-Notes/LenovoNOS.md