blueprint: NorthStar (v5) and HealthBot (v2.0.2) | ||||
video | ||||
Log into the GUI | ||||
NortStar NorthStar or NS login | https://<ip@><port>admin <ip@>:<port> ( admin // Juniper!11 ) | |||
HealthBot | SSH or https://jcluser ( jcluser // Juniper!11 ) | |||
Add Allowed network prefix | Commands menu >> Add Allowed network prefix >>> <enter ip address of client> | |||
CLI on Healthbot | ||||
Start healthbot_listener.py Code Block | | |||
| Log into ssh jcluser@healthbot ( jcluser // Juniper!1 ) It's a webhook, listen for HB messages Usage: jcluser@ubuntu:~$ ls
jcluser@ubuntu:~/self_healing$ python healthbot_listener.py | |||
Create two Tunnels: PCEP and NETCONF | ||||
Tunnel 1 = jlk_4_to_1_PCEP ( Control type: PCEInitiated ) Path Computation Element Protocol Tunnel 2 = jlk_4_to_1_Netconf ( Control type: Device Controlled ) and Application Menu >> Path Optimization >> path optimization >> Enable + 1 minute | ||||
Set the Path Optimization every minutes | ||||
Display the Delay Tab | ||||
Connect on the CentOS ( to create delay ) | ||||
add delay | Log into the CentOS ( jcluser / Juniper!1 ) su - ( Juniper!1 ) ./add_delay.sh [root@CentOS ~]# more add_delay.sh | |||
SSH to HealthBot | ||||
healthbot_listener.py output | Monitor Output received delay alert SIMULATION RESULT true | |||
On NorthStar | ||||
1- Link goes on maintenance mode 2- Tunnel re-router to avoid the link | ||||
Go to the maintenance tab | ||||
Page Comparison
General
Content
Integrations