Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.11 KB

device-config.rst

File metadata and controls

53 lines (40 loc) · 2.11 KB

Updating configuration settings about devices

WalT allows users to show or modify device configuration settings by using commands walt device config or walt node config. For instance:

$ walt device config switch1                    # show
$ walt device config switch1 lldp.explore=true  # modify
$ walt node config virt-node ram=384M           # modify

One may also show or change several settings at once, and/or show or update them on several devices at once. (See also: :doc:`walt help show device-sets<device-sets>`) For instance:

$ walt device config all-switches               # show
$ walt device config all-switches lldp.explore=true poe.reboots=true
$ walt node config virt-node-1,virt-node-2 ram=384M

You can also use this command to indicate to walt server that an unknown device is actually a switch:

$ walt device config unknown-a2f2d3 type=switch

Here is the set of settings currently allowed:

Name possible values Applies to: Notes
lldp.explore true or false switches
poe.reboots true or false switches
snmp.version 1 or 2 switches
snmp.community e.g. 'private' switches
type 'switch' 'unknown' devices
netsetup 'NAT' or 'LAN' devices of walt-net
ram e.g. '384M' or '1G' virtual nodes  
cpu.cores e.g. 1 or 4 virtual nodes  
disks e.g. '8G' or '32G,1T' virtual nodes  
networks e.g. 'walt-net,ext-net' virtual nodes

Notes:

  1. See `walt help show switch-install <switch-install.md>`__
  2. Only allowed when changing device type from 'unknown' to 'switch'
  3. See `walt help show device-netsetup <device-netsetup.md>`__
  4. See `walt help show vnode-networks <vnode-networks.md>`__