Juniper/docker-saltstack-junos

Name: docker-saltstack-junos

Owner: Juniper Networks

Description: Dockerfile to create a working Saltstack container for Junos

Created: 2016-11-08 13:18:14.0

Updated: 2017-09-06 14:39:50.0

Pushed: 2017-01-13 12:13:38.0

Homepage: null

Size: 85

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SaltStack Docker Containers for Junos

Build Status

This project has been designed to help you to get started easily with SaltStack on Junos. In this project you'll find:

Table of Content

More Content

Getting Started / 'Hello World' with Engine

1- Define Proxies

Define uc-engine/pillar/top.sls for example:

@host# cat uc-engine/pillar/top.sls

:
oxy01:
- proxy01

and associate under uc-engine/pillar/:

@host# cat uc-engine/pillar/proxy01.sls

y:
roxytype: junos
ost: 172.17.254.1
sername: admin
asswd: juniper1
2- Start Salt Master, Engine and Proxies Automatically

Under the main directory execute:

@host# make master-start

or

e clean will not work if starting docker like that

@host# docker run -d juniper/saltstack salt-master -l debug

Note: Proxies are getting automatically started within the Salt Master Engine

3- Verify

Verify that saltmaster-engine is running:

@host# docker ps 
4- Access Salt Master Shell
@host# make master-shell
5- (optional) Verify Proxy is running

Check if proxy01 is running under the saltmaster-engine

@saltmaster-engine# ps -ef | grep proxy01

Contributer

Known Issues


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.