From 4894925cacb52edb8a5e6a5b0f863a97a4a6207a Mon Sep 17 00:00:00 2001 From: BreakWa11 Date: Fri, 27 Nov 2015 16:47:08 +0800 Subject: [PATCH] add demo code in switchrule.py --- switchrule.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/switchrule.py b/switchrule.py index 036c61b..3721d2c 100644 --- a/switchrule.py +++ b/switchrule.py @@ -1,6 +1,8 @@ def getKeys(): return ['port', 'u', 'd', 'transfer_enable', 'passwd', 'enable' ] + #return ['port', 'u', 'd', 'transfer_enable', 'passwd', 'enable', 'plan' ] # append the column name 'plan' def isTurnOn(row): return True + #return row['plan'] == 'B' # then judge here