blob: 681a8e23b33433c6f96f1109d55d883ddf8631bb [file] [log] [blame]
Chetan Gaonkercb122cc2016-05-10 10:58:34 -07001#!/usr/bin/env python
Chetan Gaonkercfcce782016-05-10 10:10:42 -07002#
3# Copyright 2016-present Ciena Corporation
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
Chetan Gaonker3ff8eae2016-04-12 14:50:26 -070017import os,sys
18from utilities import Utilities, utilities
19from scapy.all import *
20
21#log.setLevel('INFO')
22class MAIN(object):
23 def __init__(self):
24 global utilities
25 self.log = log
26 self.logdir = os.getenv('HOME')
27 self.logHeader = ''
28 self.utilities = utilities
29 self.TRUE = True
30 self.FALSE = False
31 self.EXPERIMENTAL_MODE = self.FALSE
32
33 def cleanup(self): pass
34
35 def exit(self): pass
36
37main = MAIN()