Changeset 13680 in genesis
- Timestamp:
- Jan 4, 2017, 9:41:53 PM (8 years ago)
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/DeClercq/wleiden.yaml
r13210 r13680 5 5 comment : "None" 6 6 gateway : "213.125.162.249" 7 serviceid : "172.31.254.1" 7 8 latitude : "52.15060" 8 9 location : "kantoor De Clercq, Hoge Rijndijk 306, 2314 AM, Leiden" -
nodes/DimIns/wleiden.yaml
r13651 r13680 5 5 comment : "None" 6 6 gateway : "192.168.1.1" 7 serviceid : "172.31.254.2" 7 8 ileiden : False 8 9 latitude : "52.1592" -
nodes/Henk/wleiden.yaml
r13548 r13680 5 5 comment : "None" 6 6 gateway : "192.168.0.225" 7 serviceid : "172.31.254.3" 7 8 latitude : "52.17062" 8 9 location : "Henk, Boddens Hosangweg 24 A, 2481 KZ, Woubrugge" -
nodes/Herman/wleiden.yaml
r13593 r13680 5 5 comment : "None" 6 6 gateway : "192.168.1.1" 7 serviceid : "172.31.254.4" 7 8 ileiden : False 8 9 latitude : "52.25868" -
nodes/JorisdeWitte/wleiden.yaml
r13596 r13680 5 5 comment : "None" 6 6 gateway : "213.124.17.161" 7 serviceid : "172.31.254.5" 7 8 latitude : "52.1941" 8 9 location : "Chr. Basisschool Joris de Witte, Jan Wolkerslaan 18, 2343BK, Oegstgeest" -
nodes/Langevoort/wleiden.yaml
r13469 r13680 5 5 comment : "None" 6 6 gateway : "192.168.178.1" 7 serviceid : "172.31.254.6" 7 8 ileiden : True 8 9 latitude : "52.18620" -
nodes/Leythenrode2/wleiden.yaml
r13548 r13680 5 5 comment : " verbonden met 'vuil' internet van Zorggroep Rijnland lokaal ip en nameservers via dhcp LET OP: niet standaard configuratie ivm lokale ap's!" 6 6 gateway : "192.168.200.1" 7 serviceid : "172.31.254.7" 7 8 latitude : "52.15576" 8 9 location : "Verpleeghuis Leythenrode, Hoogmadeseweg 55, 2351CP, Leiderdorp, werkkast begane grond" -
nodes/Plantsoen/wleiden.yaml
r13438 r13680 5 5 comment : "None" 6 6 gateway : "192.168.178.1" 7 serviceid : "172.31.254.8" 7 8 latitude : "52.15395" 8 9 location : "CeTIM office, Plantsoen 97, 2311 KL, Leiden" -
nodes/Rick/wleiden.yaml
r13621 r13680 10 10 masterip : "172.17.34.1" 11 11 gateway : "80.127.152.25" 12 serviceid : "172.31.254.9" 12 13 monitoring_group: "wzoeterwoude" 13 14 nodename : "Rick" -
nodes/Robijn/wleiden.yaml
r13651 r13680 5 5 externalif: "vr0" 6 6 gateway : "192.168.178.1" 7 serviceid : "172.31.254.11" 7 8 latitude : "52.15457" 8 9 location : "Zorgcentrum Robijnhof, Robijnhof 1, 2332 KJ, Leiden" -
nodes/Robijn2/wleiden.yaml
r12871 r13680 5 5 comment : "None" 6 6 gateway : "192.168.178.1" 7 serviceid : "172.31.254.10" 7 8 latitude : "52.15457" 8 9 location : "Zorgcentrum Robijnhof Recreatiezaal, Robijnhof 1, 2332 KJ, Leiden" -
nodes/Rustdam2/wleiden.yaml
r13646 r13680 5 5 comment : "None" 6 6 gateway : "192.168.178.1" 7 serviceid : "172.31.254.12" 7 8 latitude : "52.11082" 8 9 location : "Kaasboerderij Rustdam, Zuidbuurtseweg 34, 2381 LG, Zoeterwoude " -
nodes/StBavo1/wleiden.yaml
r13579 r13680 5 5 comment : "None" 6 6 gateway : "192.168.178.1" 7 serviceid : "172.31.254.13" 7 8 latitude : "52.19183" 8 9 location : "Sint Bavo Kerk, Leidse weg 6, 2374 AL, Oud-Ade" -
nodes/StVictor/wleiden.yaml
r13678 r13680 5 5 comment : "None" 6 6 gateway : "192.168.178.1" 7 serviceid : "172.31.254.14" 7 8 latitude : "52.25091" 8 9 location : "Sint Victor kerk, St Victorlaan 11, 2211 RN, Noordwijkerhout" -
nodes/TEYBestuurscentrum/wleiden.yaml
r13548 r13680 5 5 comment : "None" 6 6 gateway : "213.125.198.97" 7 serviceid : "172.31.254.17" 7 8 latitude : "52.22313" 8 9 location : "Bestuurscentrum, Raadhuisplein 1, 2215MA, Voorhout" -
nodes/TestTienAlix3D/wleiden.yaml
r13548 r13680 5 5 comment : "None" 6 6 gateway : "192.168.3.1" 7 serviceid : "172.31.254.15" 7 8 latitude : "52.17062" 8 9 location : "Wouter thuis, Voorhout" -
nodes/TestTienThuis/wleiden.yaml
r13548 r13680 5 5 comment : "None" 6 6 gateway : "192.168.3.254" 7 serviceid : "172.31.254.16" 7 8 latitude : "52.17062" 8 9 location : "Thuis, , 2311 EZ, Leiden" -
tools/gformat.py
r13676 r13680 55 55 56 56 from pprint import pprint 57 from collections import defaultdict 57 from collections import defaultdict, OrderedDict 58 58 from sys import stderr 59 59 try: … … 117 117 118 118 119 ileiden_proxies = []119 ileiden_proxies = OrderedDict() 120 120 normal_proxies = [] 121 121 datadump_cache = {} … … 130 130 interface_list_cache = {} 131 131 rc_conf_local_cache = {} 132 ileiden_proxies = []132 ileiden_proxies = OrderedDict() 133 133 normal_proxies = [] 134 134 nameservers_cache = [] … … 651 651 addrs_list['lo0'].append((datadump['masterip'] + "/32", 'Master IP Not used in interface')) 652 652 653 if 'serviceid' in datadump: 654 addrs_list['lo0'].append((datadump['serviceid'] + "/32", 'Lvrouted GW IP')) 655 653 656 for iface_key in get_interface_keys(datadump): 654 657 ifacedump = datadump[iface_key] … … 739 742 datadump['autogen_ileiden_enable'] = switchFormat(datadump['autogen_ileiden_enable']) 740 743 744 745 for i in range(1,50): 746 ileiden_proxies['172.31.254.%i' % i] = {'nodename' : 'unused'} 747 741 748 if not ileiden_proxies or not normal_proxies: 742 749 for host in get_hostlist(): … … 744 751 if hostdump['status'] == 'up': 745 752 if hostdump['service_proxy_ileiden']: 746 ileiden_proxies .append(hostdump)753 ileiden_proxies[hostdump['serviceid']] = hostdump 747 754 if hostdump['service_proxy_normal']: 748 755 normal_proxies.append(hostdump) … … 750 757 datadump['autogen_ileiden_proxies'] = ileiden_proxies 751 758 datadump['autogen_normal_proxies'] = normal_proxies 752 datadump['autogen_ileiden_proxies_ips'] = ','.join([x['masterip'] for x in ileiden_proxies])753 datadump['autogen_ileiden_proxies_names'] = ','.join([x['autogen_item'] for x in ileiden_proxies])754 759 datadump['autogen_normal_proxies_ips'] = ','.join([x['masterip'] for x in normal_proxies]) 755 760 datadump['autogen_normal_proxies_names'] = ','.join([x['autogen_item'] for x in normal_proxies]) … … 798 803 # 799 804 list_ileiden_proxies=" 800 {% for item in autogen_ileiden_proxies-%}801 {{ "%-16s"|format( item.masterip) }} # {{ item.nodename }}805 {% for serviceid,item in autogen_ileiden_proxies.iteritems() -%} 806 {{ "%-16s"|format(serviceid) }} # {{ item.nodename }} 802 807 {% endfor -%} 803 808 " 804 809 list_normal_proxies=" 805 810 {% for item in autogen_normal_proxies -%} 806 {{ "%-16s"|format(item. masterip) }} # {{ item.nodename }}811 {{ "%-16s"|format(item.serviceid) }} # {{ item.nodename }} 807 812 {% endfor -%} 808 813 " … … 993 998 for config in configs: 994 999 ip_list.append(config['masterip']) 1000 if 'serviceid' in config: 1001 ip_list.append(config['serviceid']) 995 1002 for iface_key in get_interface_keys(config, True): 996 1003 l = config[iface_key]['ip']
Note:
See TracChangeset
for help on using the changeset viewer.