blob: 5107499e0296946a7d515105af65aa9737405b20 [file] [log] [blame]
Rizwan Haider51fdb3f2016-11-09 18:29:32 -05001from xos.logger import Logger, logging
2
3logger = Logger(level=logging.INFO)
4
5
6class PseudowireProvider(object):
7
8 def __init__(self, **args):
9 pass
10
11 # Methods to support creation
12 #
13 # Returns: handle
14 #
15 def create(self, port1, port2, vlanid, pseudowireservice):
16 # Default method needs to be overriden
17 logger.info("create called - should be overriden")
18
19 # Method to support connection
20 #
21 def connect(self, handle):
22 # Default method needs to be overriden
23 logger.info("connect called - should be overriden")
24 return None
25
26 # Method to support disconnection
27 #
28 def disconnect(self, handle):
29 # Default method needs to be overriden
30 logger.info("discoconnect called - should be overriden")
31
32 # Methods to support deletion
33 #
34 def delete(self, handle):
35 # Default method needs to be overriden
36 logger.info("delete called - should be overriden")