summaryrefslogtreecommitdiff
path: root/vyroute/Routing.py
diff options
context:
space:
mode:
Diffstat (limited to 'vyroute/Routing.py')
-rw-r--r--vyroute/Routing.py31
1 files changed, 30 insertions, 1 deletions
diff --git a/vyroute/Routing.py b/vyroute/Routing.py
index f82ec49..7d952b6 100644
--- a/vyroute/Routing.py
+++ b/vyroute/Routing.py
@@ -1 +1,30 @@
-# author=hochikong \ No newline at end of file
+# author=hochikong
+import StaticRoute
+
+
+class BasicRouting(object):
+ def static_routing(self):
+ pass
+
+ def rip_routing(self):
+ pass
+
+ def ospf_routing(self):
+ pass
+
+
+class Routing(BasicRouting):
+ def __init__(self, datafile):
+ """Initial member self.file.
+
+ :param datafile: a string
+ """
+ self.file = datafile
+
+ def static_routing(self, data):
+ return StaticRoute.staticroute(data)
+
+
+
+
+