add demo code in switchrule.py
This commit is contained in:
parent
409f3b053d
commit
4894925cac
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue