SharonTools

SaltStack commands

Sync new proxy

using Salt using Pepper

 

 

PROXY_NAME – can be * for all or router-x* for all routers that start with router-x

run show command on device

For example – Juniper device version

using Salt using Pepper


Get info from proxy 

for example device model

using Salt using Pepper

Validate and apply new config

show pillar

using Salt using Pepper

Load a template to network device

using Salt using Pepper

 

 

Run state

using Salt using Pepper

 

 

Troubleshooting

Re-sync proxy with latest device configuration

In case state.apply or net.load_template says that the config is already configured and it not,
and in case that configuration has been changed manually and Salt do not aware of that

using Salt using Pepper

 

Check if pillar rendered OK

(In case of error in pillar rendering it will be shown at the beginning of pillar.items)

using Salt using Pepper

view pillar info from the master 

In case there is a problem in proxy config

using Salt using Pepper

Kill all running jobs

In case a new job can’t be start doe to some old stuck job

using Salt using Pepper
Exit mobile version