1a- Rules on Healthbot GUI and Playbook for the HB to NorthStar
RPMprobe.yml | more /var/local/healthbot/input/RPMprobe.yml yml file jcluser@ubuntu:/var/local/healthbot/input$ more RPMprobe.yml RPMprobeTable: rpc: get-probe-results item: probe-test-results key: source-address view: RPMprobeView RPMprobeView: fields: probe_rt_ave_delay: probe-last-test-results/probe-test-generic-results/probe-test-rtt//probe-summary-results/avg-delay target_address: target-address test_name: test-name loss_percentage: probe-last-test-results/probe-test-generic-results/loss-percentage jcluser@ubuntu:/var/local/healthbot/input$ |
RPC call | <rpc> <get-probe-results> < /get-probe-results> </rpc> |
rpc call jcluser@vMX-addr-5> netconf <!-- No zombies were killed during the creation of this user interface --> <!-- user jcluser, class j-super-user --> <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <capabilities> <capability>urn:ietf:params:netconf:base:1.0</capability> <capability>urn:ietf:params:netconf:capability:candidate:1.0</capability> <capability>urn:ietf:params:netconf:capability:confirmed-commit:1.0</capability> <capability>urn:ietf:params:netconf:capability:validate:1.0</capability> <capability>urn:ietf:params:netconf:capability:url:1.0?scheme=http,ftp,file</capability> <capability>urn:ietf:params:xml:ns:netconf:base:1.0</capability> <capability>urn:ietf:params:xml:ns:netconf:capability:candidate:1.0</capability> <capability>urn:ietf:params:xml:ns:netconf:capability:confirmed-commit:1.0</capability> <capability>urn:ietf:params:xml:ns:netconf:capability:validate:1.0</capability> <capability>urn:ietf:params:xml:ns:netconf:capability:url:1.0?protocol=http,ftp,file</capability> <capability>urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring</capability> <capability>http://xml.juniper.net/netconf/junos/1.0</capability> <capability>http://xml.juniper.net/dmi/system/1.0</capability> </capabilities> <session-id>21666</session-id> </hello> ]]>]]> <rpc><get-probe-results></get-probe-results></rpc> <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:junos="http://xml.juniper.net/junos/18.3R1/junos"> <probe-results> <probe-test-results> <owner>northstar-ifl</owner> <test-name>ge-0/0/0.0</test-name> <target-address>7.101.105.1</target-address> <source-address>7.101.105.2</source-address> <probe-type>icmp-ping</probe-type> <icmp-id>11</icmp-id> <test-size junos:format="2 probes">2</test-size> <probe-single-results junos:style="verbose"> <probe-status>Response received</probe-status> <probe-sent-time junos:seconds="1600344821">Thu Sep 17 12:13:41 2020</probe-sent-time> <probe-time junos:seconds="1600344821">Thu Sep 17 12:13:41 2020</probe-time> <hardware-timestamp-status>No hardware timestamps</hardware-timestamp-status> <rtt>1521</rtt> <round-trip-jitter>67</round-trip-jitter> <round-trip-interarrival-jitter>12012</round-trip-interarrival-jitter> </probe-single-results> <probe-test-current-results> <probe-test-generic-results> <results-scope>current test</results-scope> <probes-sent>2</probes-sent> <probe-responses>2</probe-responses> <loss-percentage>0.000000</loss-percentage> <probe-test-rtt> <probe-summary-results> <probe-results-type>Round trip time</probe-results-type> <samples>2</samples> <min-delay junos:format="1454 usec">1454 | |