Idk if it was only a my issue but the two examples of command to add entries to the table to forward packets among h1 and h2 did not working :
-s1.cmd("nikss-ctl table add pipe 0 ingress_tbl_fwd id 1 key {} data {}".format(h2.MAC(), socket.if_nametoindex("s1-eth3")))
-s1.cmd("nikss-ctl table add pipe 0 ingress_tbl_fwd id 1 key {} data {}".format(h1.MAC(), socket.if_nametoindex("s1-eth2"))) , i added manually with (examples) :
s1 nikss-ctl table add pipe 0 ingress_tbl_fwd action id 1 key 00:04:00:00:00:01 data 9
s1 nikss-ctl table add pipe 0 ingress_tbl_fwd action id 1 key 00:04:00:00:00:02 data 10
Idk if it was only a my issue but the two examples of command to add entries to the table to forward packets among h1 and h2 did not working : -s1.cmd("nikss-ctl table add pipe 0 ingress_tbl_fwd id 1 key {} data {}".format(h2.MAC(), socket.if_nametoindex("s1-eth3"))) -s1.cmd("nikss-ctl table add pipe 0 ingress_tbl_fwd id 1 key {} data {}".format(h1.MAC(), socket.if_nametoindex("s1-eth2"))) , i added manually with (examples) :