Add a Consts file to Common that holds classes that have only constants
values and no methods.
Add there a class for L2 multicast-router port related consts.
Signed-off-by: Nogah Frankel <nogahf(a)mellanox.com>
Reviewed-by: Yotam Gigi <yotamg(a)mellanox.com>
---
lnst/Common/Consts.py | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 lnst/Common/Consts.py
diff --git a/lnst/Common/Consts.py b/lnst/Common/Consts.py
new file mode 100644
index 0000000..bdcff0b
--- /dev/null
+++ b/lnst/Common/Consts.py
@@ -0,0 +1,16 @@
+"""
+General perpuses constants file
+
+Copyright 2016-2017 Mellanox Technologies. All rights reserved.
+Licensed under the GNU General Public License, version 2 as
+published by the Free Software Foundation; see COPYING for details.
+"""
+
+__autor__ = """
+nogahf(a)mellanox.com (Nogah Frankel)
+"""
+
+class MCAST_ROUTER_PORT:
+ FIXED_OFF = 0
+ LEARNING = 1
+ FIXED_ON = 2
--
2.4.3