From: Nogah Frankel <nogahf(a)mellanox.com>
Put the multicast routing constants in the dedicated Consts module. The
multicast routing constants are pretty much the constants from the Linux
mroute.h header file, which will be needed by later patches in this series.
Signed-off-by: Nogah Frankel <nogahf(a)mellanox.com>
Signed-off-by: Yotam Gigi <yotamg(a)mellanox.com>
---
lnst/Common/Consts.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/lnst/Common/Consts.py b/lnst/Common/Consts.py
index bdcff0b..7cf7dcd 100644
--- a/lnst/Common/Consts.py
+++ b/lnst/Common/Consts.py
@@ -14,3 +14,22 @@ class MCAST_ROUTER_PORT:
FIXED_OFF = 0
LEARNING = 1
FIXED_ON = 2
+
+class MROUTE:
+ INIT = 200
+ FINISH = 201
+ VIF_ADD = 202
+ VIF_DEL = 203
+ MFC_ADD = 204
+ MFC_DEL = 205
+ PIM_INIT = 208
+ TABLE = 209
+ MFC_ADD_PROXI = 210
+ MFC_DEL_PROXI = 211
+ USE_IF_INDEX = 8
+ MAX_VIF = 32
+ REGISET_VIF = 4
+ DEFAULT_TTL = 1
+ NOTIF_NOCACHE = 1
+ NOTIF_WRONGVIF = 2
+ NOTIF_WHOLEPKT = 3
--
2.8.4