Skip to content

Commit 136e7f9

Browse files
committed
- updated README and example mlxsh.yaml for release 0.3
1 parent 8431153 commit 136e7f9

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ docker run -ti joerg/mlxsh /bin/sh
192192
### full list of possible host parameters in YAML
193193
194194
- ConfigFile: File with configuration statements
195-
- DeviceType: Type of Device, possible: MLX,CER,MLXE,XMR,IRON,TurboIron,ICX,FCS,SLX,VDX,MX,EX
195+
- DeviceType: Type of Device, possible: MLX,CER,MLXE,XMR,IRON,TurboIron,ICX,FCS,SLX,VDX,Juniper
196196
- EnablePassword: Password that may be needed for privileged mode
197197
- ExecMode (internal): True or false, if its necessary to execute commands or configure
198198
- FileName (internal): Filename with config or command statements

mlxsh.yaml

+12-13
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,24 @@
22
Username: noc
33
Password: noc
44
EnablePassword: noc
5-
DeviceType: CER
6-
KeyFile: key
5+
DeviceType: MLXE
6+
KeyFile: /home/joergkost/.ssh/id_dsa
77
SpeedMode: False
88
Labels:
99
location: dus
1010
environment: stage
11+
os: brocade
1112
type: cer
1213
bgp: yes
1314
ospf: yes
14-
- Hostname: rt2
15-
Username: mucuser
16-
Password: mucpass
17-
SSHIP: 172.16.31.10
15+
- Hostname: sw52.example.com
16+
Username: joergkost
17+
Password: foo
18+
DeviceType: juniper
19+
KeyFile: /home/joergkost/.ssh/id_dsa
20+
StrictHostCheck: no
1821
SSHPort: 22
19-
EnablePassword: enablePass
20-
SpeedMode: False
2122
Labels:
22-
location: dus
23-
environment: stage
24-
type: cer
25-
bgp: yes
26-
ospf: yes
23+
location: munich
24+
environment: prod
25+
os: juniper

scripts_go/cross_compile.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ env GOOS=windows GOARCH=amd64 go build -o bin/mlxsh.exe *.go
66
env GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o bin/mlxsh.mac *.go
77

88
# pack our executables
9-
# upx --force bin/*
9+
upx --force bin/*

0 commit comments

Comments
 (0)