generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ministryofjustice/james-branch
James branch
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Automated Juniper MIST integration | ||
|
||
This repo has been created as part of some spike work to automate the creation of Juniper Mist sites. | ||
|
||
## Local Development: | ||
|
||
Example of test data csv file. Create a file called this [test_data/sites_with_clients.csv](test_data/sites_with_clients.csv) | ||
``` | ||
Client,Shared Secret,Site Name,Site Address,Enable GovWifi,Enable MoJWifi | ||
192.168.1.2/32,0000000000000000000,"Site A", "Number 1 Foobar Road London UK", "TRUE", "FALSE" | ||
192.168.1.3/32,0000000000000000000,"Site B", "Number 2 Foobar Road London UK", "TRUE", "FALSE" | ||
192.168.1.4/32,0000000000000000000,"Site C", "Number 3 Foobar Road London UK", "TRUE", "FALSE" | ||
``` | ||
Setup OS ENVs: | ||
|
||
google_api_key=os.environ['GOOGLE_API_KEY'], | ||
mist_api_token=os.environ['MIST_API_TOKEN'], | ||
org_id=os.environ['ORG_ID'] | ||
|
||
Setup Python Environment and install requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters