State module for Cisco NSO Proxy minions
For documentation on setting up the cisconso proxy minion look in the documentation
for salt.proxy.cisconso
.
salt.states.cisconso.
value_present
(name, datastore, path, config)¶Ensure a specific value exists at a given path
name (str
) -- The name for this rule
datastore (DatastoreType
(str
enum).) -- The datastore, e.g. running, operational.
One of the NETCONF store IETF types
path (list
, str
OR tuple
) -- The device path to set the value at,
a list of element names in order, / separated
config (dict
) -- The new value at the given path
Examples:
enable pap auth:
cisconso.config_present:
- name: enable_pap_auth
- datastore: running
- path: devices/device/ex0/config/sys/interfaces/serial/ppp0/authentication
- config:
authentication:
method: pap
"list-name": foobar
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy