(no commit message)
[sfa.git] / sfatables / commands / Add.py
1 import os, time
2 from sfa.sfatables.command import Add
3
4 class Add(Command):
5     options = [('-A','--add')]
6     help = 'Add a rule to a chain'
7     key='add_rule'
8     matches = False
9     targets = False
10
11     def __init__(self):
12         return
13
14     def call(self):
15         # Override this function
16         return True
17
18     def __call__(self, option, opt_str, value, parser, *args, **kwargs):
19         return self.call(option)