Hi!
It seems the track disable command has no effect after commit bc55bb3.
Consider the following snippet:
./bessctl daemon start -- show version \
-- add module Source source0 -- add module Sink sink0 \
-- add connection source0 sink0 \
-- show pipeline \
-- show gatehook \
-- track disable source0 out 0\
-- show pipeline \
-- show gatehook; \
./bessctl daemon stop
v0.3.0-625-gbc55bb39
+---------+ +-------+
| source0 | :0 1000192 0: | sink0 |
| Source | ---------------> | Sink |
+---------+ +-------+
Track::track0 source0:0
+---------+ +-------+
| source0 | :0 19105344 0: | sink0 |
| Source | ----------------> | Sink |
+---------+ +-------+
Track::track0 source0:0
Tracking still works, however, it should be disabled.
v0.3.0-615-g9ebc5651
+---------+ +-------+
| source0 | :0 1516672 0: | sink0 |
| Source | ---------------> | Sink |
+---------+ +-------+
Track source0:0
+---------+ +-------+
| source0 | :0 ? 0: | sink0 |
| Source | ---------> | Sink |
+---------+ +-------+
*** Error: There is no active gatehook to show.
Command failed: show gatehook
Track disable works as desired.
Hi!
It seems the
track disablecommand has no effect after commit bc55bb3.Consider the following snippet:
./bessctl daemon start -- show version \ -- add module Source source0 -- add module Sink sink0 \ -- add connection source0 sink0 \ -- show pipeline \ -- show gatehook \ -- track disable source0 out 0\ -- show pipeline \ -- show gatehook; \ ./bessctl daemon stopOutput of bc55bb3:
Tracking still works, however, it should be disabled.
Output of 9ebc565 (parent of bc55bb3):
Track disable works as desired.