Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Merge 43709cd into bbc8641
Browse files Browse the repository at this point in the history
  • Loading branch information
Mierdin authored Dec 8, 2020
2 parents bbc8641 + 43709cd commit 9b7d92b
Show file tree
Hide file tree
Showing 7 changed files with 383 additions and 70 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## In development

- Revert tshoot lesson back to vQFX [#347](https://github.com/nre-learning/nrelabs-curriculum/pull/347)
- Fix troubleshooting lesson scripts to be py3 compatible [#345](https://github.com/nre-learning/nrelabs-curriculum/pull/345)
- Migrating from travis to github actions [#344](https://github.com/nre-learning/nrelabs-curriculum/pull/344)
- Converged motd banners in crpd, added helper tip for 'cli' command [#343](https://github.com/nre-learning/nrelabs-curriculum/pull/343)
Expand Down
2 changes: 1 addition & 1 deletion images/pjsua-lindsey/image.meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
slug: pjsua-lindsey
description: SIP phone
flavor: untrusted
flavor: trusted
sshUser: antidote
sshPassword: antidotepassword
configUser: antidote
Expand Down
35 changes: 16 additions & 19 deletions lessons/troubleshooting-chain/lesson.meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Automating the Troubleshooting Chain
slug: troubleshooting-chain
category: workflows
tier: prod
tier: local

prereqs:
# - python-introduction
Expand All @@ -18,32 +18,31 @@ authors:
link: https://twitter.com/cloudtoad

endpoints:

- name: junos1
image: crpd
configurationType: napalm
- name: linux1
image: utility
presentations:
- name: cli
port: 22
type: ssh

- name: junos2
image: crpd
configurationType: napalm
- name: sipphone
image: pjsua-lindsey
presentations:
- name: cli
port: 22
type: ssh

- name: linux1
image: utility
- name: vqfx1
image: vqfx-snap1
configurationType: napalm
presentations:
- name: cli
port: 22
type: ssh

- name: sipphone
image: pjsua-lindsey
- name: vqfx2
image: vqfx-snap2
configurationType: napalm
presentations:
- name: cli
port: 22
Expand All @@ -61,15 +60,13 @@ endpoints:


connections:
- a: junos1
b: junos2
subnet: 10.10.0.0/24
- a: junos2
- a: vqfx1
b: vqfx2
- a: vqfx2
b: sipphone
subnet: 10.10.150.0/24
- a: junos1
- a: vqfx1
b: asterisk
subnet: 10.10.200.0/24


stages:
- description: Get the IP Address for a Phone Extension
Expand Down
25 changes: 0 additions & 25 deletions lessons/troubleshooting-chain/stage0/configs/junos1-junos.txt

This file was deleted.

25 changes: 0 additions & 25 deletions lessons/troubleshooting-chain/stage0/configs/junos2-junos.txt

This file was deleted.

189 changes: 189 additions & 0 deletions lessons/troubleshooting-chain/stage0/configs/vqfx1-junos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
<configuration operation="replace">
<version>15.1X53-D60.4</version>
<system>
<host-name>vqfx1</host-name>
<root-authentication>
<encrypted-password>$1$mlo32jo6$BOMVhmtORai2Kr24wRCCv1</encrypted-password>
<ssh-rsa>
<name>ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key</name>
</ssh-rsa>
</root-authentication>
<login>
<user>
<name>antidote</name>
<class>super-user</class>
<authentication>
<encrypted-password>$1$iH4TNedH$3RKJbtDRO.N4Ua8B6LL/v/</encrypted-password>
</authentication>
</user>
<password>
<change-type>set-transitions</change-type>
<minimum-changes>0</minimum-changes>
</password>
</login>
<services>
<ssh>
<root-login>allow</root-login>
</ssh>
<netconf>
<ssh>
</ssh>
<rfc-compliant/>
</netconf>
<rest>
<http>
<port>8080</port>
</http>
<enable-explorer/>
</rest>
</services>
<syslog>
<user>
<name>*</name>
<contents>
<name>any</name>
<emergency/>
</contents>
</user>
<file>
<name>messages</name>
<contents>
<name>any</name>
<notice/>
</contents>
<contents>
<name>authorization</name>
<info/>
</contents>
</file>
<file>
<name>interactive-commands</name>
<contents>
<name>interactive-commands</name>
<any/>
</contents>
</file>
</syslog>
<extensions>
<providers>
<name>juniper</name>
<license-type>
<name>juniper</name>
<deployment-scope>commercial</deployment-scope>
</license-type>
</providers>
<providers>
<name>chef</name>
<license-type>
<name>juniper</name>
<deployment-scope>commercial</deployment-scope>
</license-type>
</providers>
</extensions>
</system>
<interfaces operation="merge">
<interface>
<name>em0</name>
<unit>
<name>0</name>
<family>
<inet>
<address>
<name>{{ mgmt_addr }}</name>
</address>
</inet>
</family>
</unit>
</interface>
<interface>
<name>em3</name>
<unit>
<name>0</name>
<family>
<inet>
<address>
<name>10.10.10.1/24</name>
</address>
</inet>
</family>
</unit>
</interface>
<interface>
<name>em4</name>
<unit>
<name>0</name>
<family>
<inet>
<address>
<name>10.10.200.1/24</name>
</address>
</inet>
</family>
</unit>
</interface>
<interface>
<name>lo0</name>
<unit>
<name>0</name>
<family>
<inet>
<address>
<name>10.10.1.1/32</name>
</address>
</inet>
</family>
</unit>
</interface>
</interfaces>
<forwarding-options>
<storm-control-profiles>
<name>default</name>
<all>
</all>
</storm-control-profiles>
</forwarding-options>
<routing-options>
<autonomous-system>
<as-number>65501</as-number>
</autonomous-system>
</routing-options>
<protocols>
<bgp>
<group>
<name>EXTERNAL</name>
<type>external</type>
<export>DIRECT</export>
<neighbor>
<name>10.10.10.2</name>
<peer-as>65502</peer-as>
</neighbor>
<neighbor>
<name>10.10.30.1</name>
<peer-as>65503</peer-as>
</neighbor>
</group>
</bgp>
<igmp-snooping>
<vlan>
<name>default</name>
</vlan>
</igmp-snooping>
</protocols>
<policy-options>
<policy-statement>
<name>DIRECT</name>
<from>
<protocol>direct</protocol>
</from>
<then>
<accept/>
</then>
</policy-statement>
</policy-options>
<vlans>
<vlan>
<name>default</name>
<vlan-id>1</vlan-id>
</vlan>
</vlans>
</configuration>
Loading

0 comments on commit 9b7d92b

Please sign in to comment.