blob: 8c1ec11115aa267e15db540768367734371b3e0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# author=hochikong
from vyroute.basic_function import RIPRoute
from vyroute.basic_function import StaticRoute
class BasicRouting(object):
def static_routing(self,data):
pass
def rip_routing(self,data):
pass
def ospf_routing(self,data):
pass
class Routing(BasicRouting):
def static_routing(self, data):
return StaticRoute.staticroute(data)
def rip_routing(self,data):
return RIPRoute.riproute(data)
|