I start pcc mock with:
java -jar pcep-pcc-mock-*-executable.jar --reconnect 1 --local-address 10.30.170.30 --remote-address 10.30.170.66:4189,10.30.170.39:4189,10.30.170.61:4189 --log-level INFO 2>&1 | tee pccmock.log
It seems like it just keeps trying to connect to first owner but even when I post first get
restconf/operational/network-topology:network-topology/topology/pcep-topology
I get empty topology, after restarting or isolating it's still empty, in the whole pccmocklog aren't any other ips besides first owner and jenkins
Isolating with:
sudo /sbin/iptables -I OUTPUT -p all --source "KARAF_WHICH_WE_ISOLATE" --destination "KARAF2" -j DROP sudo /sbin/iptables -I OUTPUT -p all --source "KARAF_WHICH_WE_ISOLATE" --destination "KARAF3" -j DROP
Killing command on node where we want to kill the karaf
ps axf | grep org.apache.karaf | grep -v grep | awk '{print "kill -9 " $1}' | sh