forked from markusmulia/ios_to_xr_converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xr_vrf.txt
51 lines (27 loc) · 1.06 KB
/
xr_vrf.txt
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
-class IosToXrConverter
#convert specific vrf
#convert specific interface
#convert specific router ospf
#convert specific rotuer static
#convert specific router bgp
-class IosVrfConfigParser
IosVrfConfigParser.getVrfAttrib(config_file,vrf_name)
IosVrfConfigParser.getVrfNameList(config_file) return list vrf name
IosVrfConfigParser.getAllVrfAtrrib(config_file)
IosVrfConfigParser.getVrfRd(config_file,vrf_name)
IosVrfConfigParser.getVrfExportMap(config_file,vrf_name)
IosVrfConfigParser.getVrfImportMap(config_file,vrf_name)
IosVrfConfigParser.getVrfName(config_file,vrf_name)
*************vrf utility*****************
#check conf_file has vrf
#get vrf list from conf_file
#get sepecific vrf config by name
#get rd from specific vrf name
#get route-target from specific vrf
#get all vrf ip confing from conf_file
***********interface utility*****************
#get interface list conf_file
#get interface attrib from conf_file
#get interface list from
-class IosToXr(config_file_before)
#check conf_file