Method: Cisco::Node#config_set
- Defined in:
- lib/cisco_node_utils/node.rb
#config_set(feature, name, *args) ⇒ Object
Uses CommandReference to look up the given config command(s) of interest and then applies the configuration.
158 159 160 161 162 |
# File 'lib/cisco_node_utils/node.rb', line 158 def config_set(feature, name, *args) fail 'lazy_connect specified but did not request connect' unless @cmd_ref ref = @cmd_ref.lookup(feature, name) config(ref.config_set(*args)) end |