Changeset 10729 in genesis
- Timestamp:
- May 8, 2012, 9:37:52 PM (13 years ago)
- Files:
-
- 78 edited
Legend:
- Unmodified
- Added
- Removed
-
nodes/CNodeAJSoft1/wleiden.yaml
r10703 r10729 44 44 ssid : "il-zw.rv.wleiden.net" 45 45 dhcp : False 46 compass : " sw"46 compass : "no" 47 47 ns_ip : "172.16.4.67/29" 48 48 ns_mac : "00:15:6d:e8:f9:b1" … … 74 74 ssid : "il-nw.haagwijk.wleiden.net" 75 75 dhcp : False 76 compass : " nw"76 compass : "zo" 77 77 ns_ip : "172.16.5.235/29" 78 78 ns_mac : "00:15:6d:ea:eb:d5" … … 92 92 ssid : "il-nnw.ajsoft1.wleiden.net" 93 93 dhcp : False 94 compass : "n nw"94 compass : "n" 95 95 ns_ip : "172.16.5.226/29" 96 96 ns_mac : "00:15:6d:ec:82:8a" -
nodes/CNodeAJSoft2/wleiden.yaml
r10703 r10729 44 44 ssid : "il-nno.ajsoft2.wleiden.net" 45 45 dhcp : False 46 compass : "n ne"46 compass : "n" 47 47 ns_ip : "172.16.6.50/29" 48 48 ns_mac : "00:15:6d:e8:f9:c6" … … 92 92 ssid : "il-o-ajsoft2.wleiden.net" 93 93 dhcp : False 94 compass : " None"94 compass : "no" 95 95 ns_ip : "172.16.6.18/29" 96 96 ns_mac : "00:15:6d:ea:f0:6d" -
nodes/CNodeAster/wleiden.yaml
r10703 r10729 56 56 ssid : "il-w.lijtweg1.wleiden.net" 57 57 dhcp : False 58 compass : " w"58 compass : "o" 59 59 ns_ip : "172.16.17.91/29" 60 60 ns_mac : "00:15:6d:70:53:48" … … 73 73 ssid : "il-o.unigorn.wleiden.net" 74 74 dhcp : False 75 compass : " e"75 compass : "zo" 76 76 ns_ip : "172.16.17.99/29" 77 77 ns_mac : "00:15:6d:f6:bb:99" -
nodes/CNodeBCSte/wleiden.yaml
r10703 r10729 74 74 ssid : "il-w.vosko2.wleiden.net" 75 75 dhcp : False 76 compass : " w"76 compass : "o" 77 77 ns_ip : "172.16.3.154/29" 78 78 ns_mac : "00:15:6d:f6:be:e6" -
nodes/CNodeBroekplein/wleiden.yaml
r10703 r10729 56 56 ssid : "il-n.som1.wleiden.net" 57 57 dhcp : False 58 compass : " n"58 compass : "zw" 59 59 ns_ip : "172.16.5.123/29" 60 60 ns_mac : "00:15:6d:ec:82:8d" … … 74 74 ssid : "il-z.broekplein.wleiden.net" 75 75 dhcp : False 76 compass : " s"76 compass : "zo" 77 77 ns_ip : "172.16.5.130/29" 78 78 ns_mac : "00:15:6d:ec:82:05" -
nodes/CNodeCam/wleiden.yaml
r10703 r10729 74 74 ssid : "il-zw.dirklos1.wleiden.net" 75 75 dhcp : False 76 compass : False76 compass : "n" 77 77 ns_ip : "172.16.4.91/29" 78 78 ns_mac : "00:00:00:00:00:00" -
nodes/CNodeCeTIM1/wleiden.yaml
r10703 r10729 44 44 ssid : "il-zo.cetim1.wleiden.net" 45 45 dhcp : False 46 compass : " se"46 compass : "zo" 47 47 ns_ip : "172.16.16.82/29" 48 48 ns_mac : "00:15:6d:f6:be:66" … … 86 86 ssid : "il-no.cetim1.wleiden.net" 87 87 dhcp : False 88 compass : "n e"88 compass : "no" 89 89 ns_ip : "172.16.17.146" 90 90 ns_mac : "00:15:6d:f6:be:e4" -
nodes/CNodeCeTIM2/wleiden.yaml
r10703 r10729 87 87 ssid : "il-z.lumc.wleiden.net" 88 88 dhcp : False 89 compass : " s"89 compass : "nw" 90 90 ns_ip : "172.16.4.99/29" 91 91 ns_mac : "00:15:6d:f2:36:5d" … … 105 105 ssid : "il-zw.cetim2.wleiden.net" 106 106 dhcp : False 107 compass : " sw"107 compass : "zw" 108 108 ns_ip : "172.16.16.250/29" 109 109 ns_mac : "00:15:6d:f2:37:bd" -
nodes/CNodeCope/wleiden.yaml
r10703 r10729 56 56 ssid : "il-zo.unigor.wleiden.net" 57 57 dhcp : False 58 compass : " se"58 compass : "nw" 59 59 ns_ip : "172.16.3.187/29" 60 60 ns_mac : "00:15:6d:ea:f0:1d" … … 74 74 ssid : "il-nw.stadhuis.wleiden.net" 75 75 dhcp : False 76 compass : " nw"76 compass : "zo" 77 77 ns_ip : "172.16.3.179/29" 78 78 ns_mac : "00:15:6d:ea:f0:4c" -
nodes/CNodeDeClercq/wleiden.yaml
r10703 r10729 44 44 ssid : "il-o.stadhuis.wleiden.net" 45 45 dhcp : False 46 compass : " e"46 compass : "nw" 47 47 ns_ip : "172.16.3.211/29" 48 48 ns_mac : "00:15:6d:ea:f0:63" … … 92 92 ssid : "il-zw.leythenrode.wleiden.net" 93 93 dhcp : False 94 compass : " sw"94 compass : "no" 95 95 ns_ip : "172.16.5.171/29" 96 96 ns_mac : "00:15:6d:ea:f0:7b" -
nodes/CNodeDirkLos1/wleiden.yaml
r10703 r10729 67 67 ssid : "il-zw.geluidsnet1.wleiden.net" 68 68 dhcp : False 69 compass : " sw"69 compass : "zo" 70 70 ns_ip : "172.16.4.155/29" 71 71 ns_mac : "00:15:6d:f6:be:ff" … … 85 85 ssid : "il-wnw.vosko3.wleiden.net" 86 86 dhcp : False 87 compass : " wnw"87 compass : "zo" 88 88 ns_ip : "172.16.4.75/29" 89 89 ns_mac : "00:15:6d:f6:be:eb" … … 103 103 ssid : "il-zw.dirklos1.wleiden.net" 104 104 dhcp : False 105 compass : " sw"105 compass : "z" 106 106 ns_ip : "172.16.4.90/29" 107 107 ns_mac : "00:15:6d:70:53:52" -
nodes/CNodeDirkLos2/wleiden.yaml
r10703 r10729 68 68 ssid : "il-o.unigor2.wleiden.net" 69 69 dhcp : False 70 compass : " e"70 compass : "w" 71 71 ns_ip : "172.16.4.3/29" 72 72 ns_mac : "00:15:6d:d0:14:c3" … … 86 86 ssid : "il-no.dirklos2.wleiden.net" 87 87 dhcp : False 88 compass : " ne"88 compass : "o" 89 89 ns_ip : "172.16.3.218/29" 90 90 ns_mac : "00:15:6d:b5:24:4f" … … 104 104 ssid : "il-nw.stadhuis2.wleiden.net" 105 105 dhcp : False 106 compass : " nw"106 compass : "zo" 107 107 ns_ip : "172.16.3.75/29" 108 108 ns_mac : "00:15:6d:b5:25:65" -
nodes/CNodeDrijfhuis/wleiden.yaml
r10703 r10729 41 41 ssid : "il-nw.watertoren1.wleiden.net" 42 42 dhcp : False 43 compass : " nw"43 compass : "zo" 44 44 ns_ip : "172.16.16.35" 45 45 ns_mac : "00:15:6d:70:50:04" -
nodes/CNodeGeluidsnet1/wleiden.yaml
r10703 r10729 86 86 ssid : "il-zw.geluidsnet1.wleiden.net" 87 87 dhcp : False 88 compass : " sw"88 compass : "nw" 89 89 ns_ip : "172.16.4.154/29" 90 90 ns_mac : "00:15:6d:ec:82:8c" -
nodes/CNodeGeluidsnet2/wleiden.yaml
r10703 r10729 43 43 ssid : "il-o.geluidsnet2.wleiden.net" 44 44 dhcp : False 45 compass : " e"45 compass : "o" 46 46 ns_ip : "172.16.4.210/29" 47 47 ns_mac : "00:15:6d:70:4d:a3" … … 74 74 ssid : "il-z.geluidsnet2.wleiden.net" 75 75 dhcp : False 76 compass : " s"76 compass : "zo" 77 77 ns_ip : "172.16.4.194/29" 78 78 ns_mac : "00:15:6d:70:4d:6a" … … 92 92 ssid : "il-wnw.vosko3.wleiden.net" 93 93 dhcp : False 94 compass : " wnw"94 compass : "zo" 95 95 ns_ip : "172.16.4.203/29" 96 96 ns_mac : "00:15:6d:ec:82:96" -
nodes/CNodeGraficall/wleiden.yaml
r10703 r10729 44 44 ssid : "il-w.wbrotary.wleiden.net" 45 45 dhcp : False 46 compass : " w"46 compass : "o" 47 47 height : "17" 48 48 ns_ip : "172.16.18.43/29" … … 91 91 ssid : "il-no.leythenrode.wleiden.net" 92 92 dhcp : False 93 compass : " ne"93 compass : "w" 94 94 ns_ip : "172.16.5.147/29" 95 95 ns_mac : "00:15:6d:ea:f0:4c" … … 108 108 ssid : "il-no.jvc.wleiden.net" 109 109 dhcp : False 110 compass : " ne"110 compass : "zw" 111 111 ns_ip : "172.16.3.11" 112 112 ns_mac : "00:15:6d:ea:f0:68" … … 125 125 ssid : "il-nw.graficall.wleiden.net" 126 126 dhcp : False 127 compass : "n w"127 compass : "n" 128 128 ns_ip : "172.16.5.99" 129 129 ns_mac : "00:15:6d:eb:f0:f8" -
nodes/CNodeGrip/wleiden.yaml
r10703 r10729 43 43 ssid : "il-zw.vosko1.wleiden.net" 44 44 dhcp : False 45 compass : " sw"45 compass : "n" 46 46 ns_ip : "172.16.16.59/29" 47 47 ns_mac : "00:15:6d:70:50:09" … … 61 61 ssid : "il-nw.roc2.wleiden.net" 62 62 dhcp : False 63 compass : " nw"63 compass : "zo" 64 64 ns_ip : "192.168.1.20/24" 65 65 ns_mac : "00:15:6d:ad:34:35" … … 79 79 ssid : "il-zw.grip.wleiden.net" 80 80 dhcp : False 81 compass : " sw"81 compass : "w" 82 82 ns_ip : "192.168.1.20/24" 83 83 ns_mac : "00:15:6d:30:29:6b" -
nodes/CNodeHaagwijk/wleiden.yaml
r10703 r10729 43 43 ssid : "il-zw.haagwijk.wleiden.net" 44 44 dhcp : False 45 compass : " sw"45 compass : "zw" 46 46 ns_ip : "172.16.4.146/29" 47 47 ns_mac : "00:15:6d:ec:82:43" … … 61 61 ssid : "il-o.haagwijk.wleiden.net" 62 62 dhcp : False 63 compass : " e"63 compass : "o" 64 64 ns_ip : "172.16.17.130" 65 65 ns_mac : "00:15:6d:ec:82:60" … … 79 79 ssid : "il-zo.livinglab.wleiden.net" 80 80 dhcp : False 81 compass : " se"81 compass : "nw" 82 82 ns_ip : "172.16.17.115/29" 83 83 ns_mac : "00:15:6d:bd:68:05" -
nodes/CNodeHofwijck/wleiden.yaml
r10703 r10729 56 56 ssid : "il-w.hofwijck.wleiden.net" 57 57 dhcp : False 58 compass : " w"58 compass : "n" 59 59 ns_ip : "172.16.6.26" 60 60 ns_mac : "00:15:6d:e8:e7:37" … … 74 74 ssid : "il-no.unigorn.wleiden.net" 75 75 dhcp : False 76 compass : " s"76 compass : "zw" 77 77 ns_ip : "172.16.17.235/29" 78 78 ns_mac : "00:15:6d:f6:be:db" -
nodes/CNodeHoutmarkt/wleiden.yaml
r10703 r10729 44 44 ssid : "il-z.som1.wleiden.net" 45 45 dhcp : False 46 compass : " s"46 compass : "nw" 47 47 ns_ip : "172.16.17.219/29" 48 48 ns_mac : "00:15:6d:70:54:9d" … … 62 62 ssid : "il-no.cetim1.wleiden.net" 63 63 dhcp : False 64 compass : " ne"64 compass : "zw" 65 65 ns_ip : "172.16.17.147" 66 66 ns_mac : "00:15:6d:70:52:65" -
nodes/CNodeIMI/wleiden.yaml
r10703 r10729 44 44 ssid : "il-z.thomas.wleiden.net" 45 45 dhcp : False 46 compass : " s"46 compass : "no" 47 47 ns_ip : "172.16.16.51/29" 48 48 ns_mac : "00:15:6d:e8" … … 96 96 ssid : "il-zw.cetim2.wleiden.net" 97 97 dhcp : False 98 compass : " sw"98 compass : "no" 99 99 ns_ip : "172.16.16.251/29" 100 100 ns_mac : "00:15:6d:f2:39:37" -
nodes/CNodeJVC/wleiden.yaml
r10703 r10729 44 44 ssid : "il-no.jvc.wleiden.net" 45 45 dhcp : False 46 compass : "n e"46 compass : "no" 47 47 ns_ip : "172.16.3.10/29" 48 48 ns_mac : "00:15:6d:ea:f0:fe" … … 93 93 ssid : "il-z.jvc.wleiden.net" 94 94 dhcp : False 95 compass : " s"95 compass : "z" 96 96 ns_ip : "172.16.5.154/29" 97 97 ns_mac : "00:15:6d:ea:f0:67" -
nodes/CNodeKaag1/wleiden.yaml
r10703 r10729 44 44 ssid : "il-o.lijtweg1.wleiden.net" 45 45 dhcp : False 46 compass : " e"46 compass : "zw" 47 47 ns_ip : "172.16.3.3/29" 48 48 ns_mac : "00:15:6d:70:54:63" … … 62 62 ssid : "il-z.kaag2.wleiden.net" 63 63 dhcp : False 64 compass : " s"64 compass : "n" 65 65 ns_ip : "172.16.17.67/29" 66 66 ns_mac : "00:15:6d:70:51:f6" … … 80 80 ssid : "il-z.kaag1.wleiden.net" 81 81 dhcp : False 82 compass : " s"82 compass : "zw" 83 83 ns_ip : "172.16.18.2/29" 84 84 ns_mac : "00:15:6d:70:52:67" -
nodes/CNodeKaag2/wleiden.yaml
r10703 r10729 44 44 ssid : "il-no.kaag2.wleiden.net" 45 45 dhcp : False 46 compass : " ne"46 compass : "o" 47 47 ns_ip : "172.16.16.26/29" 48 48 ns_mac : "00:15:6d:70:52:5d" … … 62 62 ssid : "il-z.kaag2.wleiden.net" 63 63 dhcp : False 64 compass : " s"64 compass : "z" 65 65 ns_ip : "172.16.17.66/29" 66 66 ns_mac : "00:15:6d:70:51:ea" … … 95 95 ssid : "il-no.unigorn.wleiden.net" 96 96 dhcp : False 97 compass : " ne"97 compass : "zw" 98 98 ns_ip : "172.16.17.75/29" 99 99 ns_mac : "00:15:6d:70:54:98" -
nodes/CNodeKempers/wleiden.yaml
r10703 r10729 44 44 ssid : "il-zzw.watertoren1.wleiden.net" 45 45 dhcp : False 46 compass : " ssw"46 compass : "no" 47 47 ns_ip : "172.16.16.139/29" 48 48 ns_mac : "00:15:6d:70:54:9e" -
nodes/CNodeLUMC/wleiden.yaml
r10703 r10729 61 61 ssid : "il-z0.unigor.wleiden.net" 62 62 dhcp : False 63 compass : " None"63 compass : "w" 64 64 ns_ip : "172.16.4.83/29" 65 65 ns_mac : "00:15:6d:70:54:c9" … … 79 79 ssid : "il-z.lumc.wleiden.net" 80 80 dhcp : False 81 compass : " s"81 compass : "zo" 82 82 ns_ip : "172.16.4.98/29" 83 83 ns_mac : "00:15:6d:70:53:6d" -
nodes/CNodeLangeVoort/wleiden.yaml
r10703 r10729 55 55 ssid : "il-w.hofwijck.wleiden.net" 56 56 dhcp : False 57 compass : " w"57 compass : "z" 58 58 ns_ip : "172.16.6.27" 59 59 ns_mac : "00:15:6d:d5:f8:36" … … 71 71 ssid : "il-o.lijtweg1.wleiden.net" 72 72 dhcp : False 73 compass : " e"73 compass : "w" 74 74 ns_ip : "172.16.6.3" 75 75 ns_mac : "00:15:6d:e9:f9:bd" -
nodes/CNodeLebkov/wleiden.yaml
r10703 r10729 56 56 ssid : "il-n.geluidsnet1.wleiden.net" 57 57 dhcp : False 58 compass : " n"58 compass : "z" 59 59 ns_ip : "172.16.17.227" 60 60 ns_mac : "00:15:6d:70:54:ba" … … 74 74 ssid : "il-z.lumc.wleiden.net" 75 75 dhcp : False 76 compass : " s"76 compass : "zw" 77 77 ns_ip : "172.16.4.163/29" 78 78 ns_mac : "00:15:6d:70:54:51" -
nodes/CNodeLeythenrode/wleiden.yaml
r10703 r10729 44 44 ssid : "il-zo.som2.wleiden.net" 45 45 dhcp : False 46 compass : " se"46 compass : "nw" 47 47 ns_ip : "172.16.17.187/29" 48 48 ns_mac : "00:15:6d:eb:f1:33" … … 86 86 ssid : "il-no.leythenrode.wleiden.net" 87 87 dhcp : False 88 compass : " ne"88 compass : "o" 89 89 ns_ip : "172.16.5.146/29" 90 90 ns_mac : "00:15:6d:bd:8a:06" … … 104 104 ssid : "il-zw.leythenrode.wleiden.net" 105 105 dhcp : False 106 compass : " sw"106 compass : "zw" 107 107 ns_ip : "172.16.5.170/29" 108 108 ns_mac : "00:15:6d:bd:8a:02" -
nodes/CNodeLijtweg1/wleiden.yaml
r10703 r10729 44 44 ssid : "il-o.lijtweg1.wleiden.net" 45 45 dhcp : False 46 compass : " e"46 compass : "o" 47 47 ns_ip : "172.16.6.2" 48 48 ns_mac : "00:15:6d:e9:e7:20" … … 92 92 ssid : "il-o.lijtweg1.wleiden.net" 93 93 dhcp : False 94 compass : " e"94 compass : "o" 95 95 ns_ip : "172.16.3.106" 96 96 ns_mac : "00:15:6d:71:53:86" -
nodes/CNodeLijtweg2/wleiden.yaml
r10703 r10729 56 56 ssid : "il-ono.lijtweg2.wleiden.net" 57 57 dhcp : False 58 compass : " ene"58 compass : "o" 59 59 ns_ip : "172.16.17.250/29" 60 60 ns_mac : "00:15:6d:f2:43:eb" … … 87 87 ssid : "il-w.lijtweg2.wleiden.net" 88 88 dhcp : False 89 compass : " w"89 compass : "zw" 90 90 ns_ip : "172.16.6.34" 91 91 ns_mac : "00:15:6d:70:51:c6" … … 105 105 ssid : "il-z.lijtweg2.wleiden.net" 106 106 dhcp : False 107 compass : " s"107 compass : "z" 108 108 ns_ip : "172.16.3.114/29" 109 109 ns_mac : "00:15:6d:71:54:c7" … … 136 136 ssid : "il-w.broekplein.wleiden.net" 137 137 dhcp : False 138 compass : " w"138 compass : "o" 139 139 ns_ip : "172.16.5.139/29" 140 140 ns_mac : "00:15:6d:70:4d:d3" -
nodes/CNodeLucasN/wleiden.yaml
r10703 r10729 61 61 ssid : "il-nw.stadhuis.wleiden.net" 62 62 dhcp : False 63 compass : " nw"63 compass : "zo" 64 64 ns_ip : "172.16.4.131/29" 65 65 ns_mac : "" -
nodes/CNodeMuiderkring/wleiden.yaml
r10703 r10729 56 56 ssid : "il-nno.ajsoft2.wleiden.net" 57 57 dhcp : False 58 compass : " nne"58 compass : "z" 59 59 ns_ip : "172.16.6.51/29" 60 60 ns_mac : "00:15:6d:e8:e6:b1" -
nodes/CNodePlantsoen2/wleiden.yaml
r10703 r10729 44 44 ssid : "il-n.roc1.wleiden.net" 45 45 dhcp : False 46 compass : " s"46 compass : "z" 47 47 ns_ip : "172.16.5.11/29" 48 48 ns_mac : "00:27:22:10:FD:A1" … … 75 75 ssid : "il-zo.stadhuis.wleiden.net" 76 76 dhcp : False 77 compass : " se"77 compass : "nw" 78 78 distance : "0.5 km" 79 79 ns_ip : "172.16.5.115/29" -
nodes/CNodePsycho/wleiden.yaml
r10703 r10729 73 73 ssid : "il-o.unigorn.wleiden.net" 74 74 dhcp : False 75 compass : " e"75 compass : "w" 76 76 ns_ip : "172.16.16.107/29" 77 77 ns_mac : "00:15:6d:70:4d:a7" … … 91 91 ssid : "il-w.som2.wleiden.net" 92 92 dhcp : False 93 compass : " w"93 compass : "o" 94 94 ns_ip : "172.16.16.115/29" 95 95 ns_mac : "00:15:6d:70:4e:84" -
nodes/CNodeROC1/wleiden.yaml
r10703 r10729 62 62 ssid : "il-no.roc1.wleiden.net" 63 63 dhcp : False 64 compass : "n e"64 compass : "no" 65 65 ns_ip : "172.16.5.58/29" 66 66 ns_mac : "00:27:22:10:fe:52" … … 110 110 ssid : "il-o.haagwijk.wleiden.net" 111 111 dhcp : False 112 compass : " e"112 compass : "w" 113 113 ns_ip : "172.16.17.131/29" 114 114 ns_mac : "00:15:6d:70:54:52" -
nodes/CNodeROC2/wleiden.yaml
r10703 r10729 44 44 ssid : "il-z.roc2.wleiden.net" 45 45 dhcp : False 46 compass : " s"46 compass : "z" 47 47 ns_ip : "172.16.5.50/29" 48 48 ns_mac : "00:27:22:8a:38:38" … … 92 92 ssid : "il-w.jvc.wleiden.net" 93 93 dhcp : False 94 compass : " w"94 compass : "o" 95 95 ns_ip : "172.16.5.35/29" 96 96 ns_mac : "00:27:22:8a:3b:d5" -
nodes/CNodeRV/wleiden.yaml
r10703 r10729 44 44 ssid : "il-zw.rv.wleiden.net" 45 45 dhcp : False 46 compass : " sw"46 compass : "zw" 47 47 ns_ip : "172.16.4.66/29" 48 48 ns_mac : "00:15:6d:e9:f9:b0" … … 74 74 ssid : "il-no.rv.wleiden.net" 75 75 dhcp : False 76 compass : "n e"76 compass : "no" 77 77 ns_ip : "172.16.5.242/29" 78 78 ns_mac : "00:15:6d:ed:82:7c" … … 92 92 ssid : "il-o.ajsoft2.wleiden.net" 93 93 dhcp : False 94 compass : " e"94 compass : "zw" 95 95 ns_ip : "172.16.6.19/29" 96 96 ns_mac : "00:15:6d:ec:82:40" -
nodes/CNodeRabo1/wleiden.yaml
r10703 r10729 92 92 ssid : "il-z.rabo1.wleiden.net" 93 93 dhcp : False 94 compass : " s"94 compass : "z" 95 95 ns_ip : "172.16.4.10/29" 96 96 ns_mac : "00:15:6d:70:53:6a" … … 110 110 ssid : "il-w.som2.wleiden.net" 111 111 dhcp : False 112 compass : " w"112 compass : "o" 113 113 ns_ip : "172.16.16.19/29" 114 114 ns_mac : "00:15:6d:70:54:62" -
nodes/CNodeRabo2/wleiden.yaml
r10703 r10729 56 56 ssid : "il-z.rabo2.wleiden.net" 57 57 dhcp : False 58 compass : " s"58 compass : "z" 59 59 ns_ip : "172.16.3.194/29" 60 60 ns_mac : "00:15:6d:ec:81:f1" … … 74 74 ssid : "il-no.dirklos2.wleiden.net" 75 75 dhcp : False 76 compass : " ne"76 compass : "w" 77 77 ns_ip : "172.16.3.219/29" 78 78 ns_mac : "00:15:6d:70:54:c4" -
nodes/CNodeRecpark/wleiden.yaml
r10703 r10729 57 57 ssid : "il-w.watertoren3.wleiden.net" 58 58 dhcp : False 59 compass : " w"59 compass : "z" 60 60 ns_ip : "172.16.16.75/29" 61 61 ns_mac : "00:15:6d:70:4d:a4" -
nodes/CNodeRobijn/wleiden.yaml
r10703 r10729 55 55 ssid : "il-w.vosko.wleiden.net" 56 56 dhcp : False 57 compass : " w"57 compass : "o" 58 58 ns_ip : "172.16.4.115/29" 59 59 ns_mac : "00:15:6d:f2:39:37" … … 72 72 ssid : "il-z.unigor1.wleiden.net" 73 73 dhcp : False 74 compass : " s"74 compass : "n" 75 75 ns_ip : "172.16.5.219/29" 76 76 ns_mac : "00:15:6d:f2:39:44" … … 89 89 ssid : "il-nw.ajsoft1.wleiden.net" 90 90 dhcp : False 91 compass : " nw"91 compass : "z" 92 92 ns_ip : "172.16.5.227/29" 93 93 ns_mac : "00:15:6d:f2:38:07" -
nodes/CNodeRoomburgh1/wleiden.yaml
r10703 r10729 74 74 ssid : "il-zo.cetim1.wleiden.net" 75 75 dhcp : False 76 compass : " se"76 compass : "nw" 77 77 ns_ip : "172.16.16.83/29" 78 78 ns_mac : "00:15:6d:ea:ef:87" … … 92 92 ssid : "il-nnw.roomburgh1.wleiden.net" 93 93 dhcp : False 94 compass : "n nw"94 compass : "n" 95 95 ns_ip : "172.16.3.42/29" 96 96 ns_mac : "00:15:6d:ea:f0:62" -
nodes/CNodeRoomburgh2/wleiden.yaml
r10703 r10729 56 56 ssid : "il-zw.leythenrode.wleiden.net" 57 57 dhcp : False 58 compass : " sw"58 compass : "o" 59 59 ns_ip : "172.16.5.179/29" 60 60 ns_mac : "00:15:6d:ea:f0:7b" … … 74 74 ssid : "il-zw.roomburgh2.wleiden.net" 75 75 dhcp : False 76 compass : " sw"76 compass : "w" 77 77 ns_ip : "172.16.4.58/29" 78 78 ns_mac : "00:15:6d:eb:ef:a7" -
nodes/CNodeRoomburgh3/wleiden.yaml
r10703 r10729 56 56 ssid : "il-w.declercq.wleiden.net" 57 57 dhcp : False 58 compass : " w"58 compass : "o" 59 59 ns_ip : "172.16.5.187/29" 60 60 ns_mac : "00:15:6d:bd:69:30" -
nodes/CNodeRosmolen/wleiden.yaml
r10703 r10729 56 56 ssid : "il-nw.rosmolen.wleiden.net" 57 57 dhcp : False 58 compass : " nw"58 compass : "w" 59 59 ns_ip : "172.16.3.74/29" 60 60 ns_mac : "00:15:6d:" … … 74 74 ssid : "il-z.broekplein.wleiden.net" 75 75 dhcp : False 76 compass : " s"76 compass : "nw" 77 77 ns_ip : "172.16.5.131/29" 78 78 ns_mac : "00:15:6d:70:54:c5" … … 92 92 ssid : "il-nnw.roomburgh1.wleiden.net" 93 93 dhcp : False 94 compass : " nnw"94 compass : "z" 95 95 ns_ip : "172.16.3.43/29" 96 96 ns_mac : "" -
nodes/CNodeRustenborch/wleiden.yaml
r10703 r10729 56 56 ssid : "il-w.lijtweg2.wleiden.net" 57 57 dhcp : False 58 compass : " w"58 compass : "no" 59 59 ns_ip : "172.16.6.35" 60 60 ns_mac : "00:15:6d:71:54:67" … … 74 74 ssid : "il-n.unigorn.wleiden.net" 75 75 dhcp : False 76 compass : " n"76 compass : "z" 77 77 ns_ip : "172.16.17.243/29" 78 78 ns_mac : "00:15:6d:70:54:cc" -
nodes/CNodeSOM1/wleiden.yaml
r10703 r10729 56 56 ssid : "il-n.som1.wleiden.net" 57 57 dhcp : False 58 compass : "n "58 compass : "no" 59 59 ns_ip : "172.16.5.122/29" 60 60 ns_mac : "00:15:6d:ec:7a:51" … … 74 74 ssid : "il-z.som1.wleiden.net" 75 75 dhcp : False 76 compass : " s"76 compass : "z" 77 77 ns_ip : "172.16.3.170/29" 78 78 ns_mac : "00:15:6d:ec:82:a9" -
nodes/CNodeSpoortje/wleiden.yaml
r10703 r10729 56 56 ssid : "il-zo.som2.wleiden.net" 57 57 dhcp : False 58 compass : " se"58 compass : "nw" 59 59 ns_ip : "172.16.17.139/29" 60 60 ns_mac : "00:15:6d:70:53:40" … … 74 74 ssid : "il-no.cetim1.wleiden.net" 75 75 dhcp : False 76 compass : " ne"76 compass : "zw" 77 77 ns_ip : "172.16.4.19" 78 78 ns_mac : "00:15:6d:70:54:4b" -
nodes/CNodeStadhuis/wleiden.yaml
r10519 r10729 58 58 ssid : "il-o.vosko3.wleiden.net" 59 59 dhcp : False 60 compass : " e"60 compass : "w" 61 61 distance : "0.5 km" 62 62 ns_ip : "172.16.5.67/29" … … 169 169 ssid : "il-z.som1.wleiden.net" 170 170 dhcp : False 171 compass : " s"171 compass : "n" 172 172 distance : "3 km" 173 173 ns_ip : "172.16.3.171/29" … … 217 217 ssid : "il-o.stadhuis.wleiden.net" 218 218 dhcp : False 219 compass : " e"219 compass : "zo" 220 220 ns_ip : "172.16.3.210/29" 221 221 ns_mac : "00:15:6d:bd:68:93" … … 235 235 ssid : "il-zo.stadhuis.wleiden.net" 236 236 dhcp : False 237 compass : " se"237 compass : "zo" 238 238 distance : "0.5 km" 239 239 ns_ip : "172.16.5.114/29" -
nodes/CNodeThomas/wleiden.yaml
r10703 r10729 56 56 ssid : "il-zw.vosko1.wleiden.net" 57 57 dhcp : False 58 compass : " sw"58 compass : "n" 59 59 ns_ip : "172.16.16.43/29" 60 60 ns_mac : "00:15:6d:70:54:a0" … … 74 74 ssid : "il-zw.thomas.wleiden.net" 75 75 dhcp : False 76 compass : " sw"76 compass : "zw" 77 77 ns_ip : "172.16.16.50/29" 78 78 ns_mac : "00:15:6d:70:52:5c" -
nodes/CNodeUniGor1/wleiden.yaml
r10703 r10729 80 80 ssid : "il-zo.unigor1.wleiden.net" 81 81 dhcp : False 82 compass : " se"82 compass : "zo" 83 83 ns_ip : "172.16.3.186/29" 84 84 ns_mac : "00:15:6d:f2:38:a0" … … 110 110 ssid : "il-z.unigor1.wleiden.net" 111 111 dhcp : False 112 compass : " s"112 compass : "z" 113 113 ns_ip : "172.16.5.218/29" 114 114 ns_mac : "00:15:6d:f2:38:bd" -
nodes/CNodeUniGor2/wleiden.yaml
r10703 r10729 110 110 ssid : "il-o.unigor2.wleiden.net" 111 111 dhcp : False 112 compass : " e"112 compass : "o" 113 113 ns_ip : "172.16.4.2/29" 114 114 ns_mac : "00:15:6d:d0:14:75" -
nodes/CNodeUniGorN/wleiden.yaml
r10703 r10729 44 44 ssid : "il-no.unigorn.wleiden.net" 45 45 dhcp : False 46 compass : "n e"46 compass : "no" 47 47 ns_ip : "172.16.17.74/29" 48 48 ns_mac : "00:27:22:10:FD:F8" … … 73 73 ssid : "il-o.unigorn.wleiden.net" 74 74 dhcp : False 75 compass : " e"75 compass : "nw" 76 76 ns_ip : "172.16.17.98/29" 77 77 ns_mac : "00:15:6d:ea:f0:64" -
nodes/CNodeVictoria/wleiden.yaml
r10703 r10729 61 61 ssid : "il-zo.stadhuis.wleiden.net" 62 62 dhcp : False 63 compass : " se"63 compass : "nw" 64 64 ns_ip : "172.16.17.195/29" 65 65 ns_mac : "00:15:6d:70:51:f2" … … 79 79 ssid : "il-zw.cetim2.wleiden.net" 80 80 dhcp : False 81 compass : " sw"81 compass : "n" 82 82 ns_ip : "172.16.17.203/29" 83 83 ns_mac : "00:15:6d:70:53:7f" -
nodes/CNodeVosko1/wleiden.yaml
r10703 r10729 56 56 ssid : "il-zw.vosko1.wleiden.net" 57 57 dhcp : False 58 compass : " sw"58 compass : "z" 59 59 ns_ip : "172.16.16.58/29" 60 60 ns_mac : "00:15:6d:ed:83:7d" -
nodes/CNodeVosko2/wleiden.yaml
r10703 r10729 44 44 ssid : "il-no.vosko2.wleiden.net" 45 45 dhcp : False 46 compass : "n e"46 compass : "no" 47 47 ns_ip : "172.16.17.154" 48 48 ns_mac : "00:15:6d:f3:35:7d" -
nodes/CNodeVosko3/wleiden.yaml
r10703 r10729 56 56 ssid : "il-o.vosko3.wleiden.net" 57 57 dhcp : False 58 compass : " e"58 compass : "o" 59 59 ns_ip : "172.16.5.66/29" 60 60 ns_mac : "00:15:6d:bd:67:fe" … … 74 74 ssid : "il-zo.vosko3.wleiden.net" 75 75 dhcp : False 76 compass : " se"76 compass : "zo" 77 77 ns_ip : "172.16.5.90/29" 78 78 ns_mac : "00:15:6d:bd:67:ff" … … 92 92 ssid : "il-wnw.vosko3.wleiden.net" 93 93 dhcp : False 94 compass : " wnw"94 compass : "nw" 95 95 ns_ip : "172.16.4.74/29" 96 96 ns_mac : "00:15:6d:bd:68:9b" -
nodes/CNodeWP/wleiden.yaml
r10703 r10729 41 41 ssid : "il-n.psycho.wleiden.net" 42 42 dhcp : False 43 compass : " n"43 compass : "z" 44 44 ns_ip : "172.16.16.123/29" 45 45 ns_mac : "00:15:6d:70:54:6d" -
nodes/CNodeWatertoren1/wleiden.yaml
r10703 r10729 42 42 ssid : "il-zzw.watertoren1.wleiden.net" 43 43 dhcp : False 44 compass : " ssw"44 compass : "zw" 45 45 ns_ip : "172.16.16.138/29" 46 46 ns_mac : "00:15:6d:70:4d:6c" … … 70 70 ssid : "il-no.cetim1.wleiden.net" 71 71 dhcp : False 72 compass : " ne"72 compass : "zw" 73 73 ns_ip : "172.16.16.99/29" 74 74 ns_mac : "00:15:6d:ec:81:f3" -
nodes/CNodeWatertoren3/wleiden.yaml
r10454 r10729 55 55 ssid : "il-no.kaag2.wleiden.net" 56 56 dhcp : False 57 compass : " ne"57 compass : "w" 58 58 ns_ip : "172.16.16.27/29" 59 59 ns_mac : "00:15:6d:f2:42:f3" … … 71 71 ssid : "il-w.watertoren3.wleiden.net" 72 72 dhcp : False 73 compass : " w"73 compass : "n" 74 74 ns_ip : "172.16.16.74/29" 75 75 ns_mac : "00:15:6d:70:52:52" -
nodes/CNodeWebster/wleiden.yaml
r10703 r10729 80 80 ssid : "il-z.geluidsnet2.wleiden.net" 81 81 dhcp : False 82 compass : " s"82 compass : "nw" 83 83 ns_ip : "172.16.4.195/29" 84 84 ns_mac : "00:15:6d:f2:37:c5" … … 98 98 ssid : "il-wnw.vosko3.wleiden.net" 99 99 dhcp : False 100 compass : " wnw"100 compass : "zo" 101 101 ns_ip : "172.16.4.251/29" 102 102 ns_mac : "00:15:6d:70:53:6c" -
nodes/CNodeZijloever/wleiden.yaml
r10703 r10729 43 43 ssid : "il-z.som1.wleiden.net" 44 44 dhcp : False 45 compass : " s"45 compass : "nw" 46 46 ns_ip : "172.16.4.227/29" 47 47 ns_mac : "00:15:6d:f7:be:ec" … … 60 60 ssid : "il-n.roomburgh3.wleiden.net" 61 61 dhcp : False 62 compass : " n"62 compass : "z" 63 63 ns_ip : "172.16.4.235/29" 64 64 ns_mac : "00:15:6d:71:4d:a9" … … 77 77 ssid : "il-no.roc1.wleiden.net" 78 78 dhcp : False 79 compass : " ne"79 compass : "zw" 80 80 ns_ip : "172.16.5.59/29" 81 81 ns_mac : "" -
nodes/CNodeZwaluwak/wleiden.yaml
r10703 r10729 43 43 ssid : "ila-z.unigor.wleiden.net" 44 44 dhcp : False 45 compass : " s"45 compass : "no" 46 46 ns_ip : "192.168.1.21" 47 47 status : "up" … … 89 89 ssid : "il-nw.bcste.wleiden.net" 90 90 dhcp : False 91 compass : " nw"91 compass : "zo" 92 92 ns_ip : "172.16.3.252/29" 93 93 ns_mac : "00:15:6d:e8:e6:a3" -
nodes/CNodeZwet/wleiden.yaml
r10703 r10729 42 42 ssid : "il-z.roc2.wleiden.net" 43 43 dhcp : False 44 compass : " s"44 compass : "n" 45 45 ns_ip : "172.16.5.51/29" 46 46 ns_mac : "00:27:22:10:fe:52" … … 58 58 ssid : "il-z.jvc.wleiden.net" 59 59 dhcp : False 60 compass : " s"60 compass : "n" 61 61 ns_ip : "172.16.5.155/29" 62 62 ns_mac : "00:15:6d:ed:82:69" -
nodes/HybridBoterhuis/wleiden.yaml
r10716 r10729 66 66 ssid : "il-z.kaag2.wleiden.net" 67 67 dhcp : False 68 compass : " 37"68 compass : "no" 69 69 height : "8" 70 70 ns_ip : "172.16.6.91/29" … … 85 85 ssid : "il-nw.graficall.wleiden.net" 86 86 dhcp : False 87 compass : " 161"87 compass : "z" 88 88 ns_ip : "172.16.5.100/29" 89 89 ns_mac : "00:27:22:10:F6:01" … … 102 102 ssid : "il-ono.lijtweg2.wleiden.net" 103 103 dhcp : False 104 compass : " 266"104 compass : "w" 105 105 ns_ip : "172.16.6.83/29" 106 106 ns_mac : "00:27:22:8A:3D:B6" -
nodes/HybridHuub/wleiden.yaml
r10701 r10729 48 48 ssid : "il-w.vosko2.wleiden.net" 49 49 dhcp : False 50 compass : " w"50 compass : "no" 51 51 ns_ip : "172.16.4.123/29" 52 52 ns_mac : "00:15:6d:ec:82:4c" … … 94 94 ssid : "il-z.rabo.wleiden.net" 95 95 dhcp : False 96 compass : " s"96 compass : "n" 97 97 ns_ip : "172.16.4.11/29" 98 98 ns_mac : "00:15:6d:bd:89:cb" … … 112 112 ssid : "il-zw.cetim2.wleiden.net" 113 113 dhcp : False 114 compass : " sw"114 compass : "o" 115 115 ns_ip : "172.16.4.29/29" 116 116 ns_mac : "00:15:6d:ec:81:ef" -
nodes/HybridKWVdeKaag/wleiden.yaml
r10713 r10729 18 18 service_proxy_normal: False 19 19 status : "up" 20 20 21 21 22 iface_ath0: … … 64 65 ssid : "il-z.kaag1.wleiden.net" 65 66 dhcp : False 66 compass : " s"67 compass : "no" 67 68 ns_ip : "172.16.18.3/29" 68 69 ns_mac : "00:15:6d:e2:be:7c" … … 82 83 ssid : "il-ono.lijtweg2.wleiden.net" 83 84 dhcp : False 84 compass : " ene"85 compass : "w" 85 86 ns_ip : "172.16.17.251/29" 86 87 ns_mac : "00:15:6d:f2:44:2e" -
nodes/HybridLHS/wleiden.yaml
r10701 r10729 78 78 ssid : "il-n.psycho.wleiden.net" 79 79 dhcp : False 80 compass : " s"80 compass : "z" 81 81 ns_ip : "172.16.3.51/29" 82 82 ns_mac : "00:27:22:10:FD:8A" -
nodes/HybridLivingLab/wleiden.yaml
r10703 r10729 48 48 ssid : "il-zw.roomburgh2.wleiden.net" 49 49 dhcp : False 50 compass : " sw"50 compass : "o" 51 51 ns_ip : "172.16.4.59/29" 52 52 ns_mac : "00:15:6d:70:51:f5" … … 94 94 ssid : "il-zo.livinglab.wleiden.net" 95 95 dhcp : False 96 compass : " se"96 compass : "zo" 97 97 ns_ip : "172.16.17.114" 98 98 ns_mac : "00:15:6d:70:51:e9" -
nodes/HybridMeerburg/wleiden.yaml
r10703 r10729 47 47 ssid : "il-no.jvc.wleiden.net" 48 48 dhcp : False 49 compass : " ne"49 compass : "w" 50 50 ns_ip : "172.16.4.243/29" 51 51 ns_mac : "3D:57" -
nodes/HybridRick/wleiden.yaml
r10703 r10729 87 87 ssid : "il-zw.haagwijk.wleiden.net" 88 88 dhcp : False 89 compass : " sw"89 compass : "no" 90 90 ns_ip : "172.16.4.147/29" 91 91 ns_mac : "00:15:6d:bd:68:99" -
nodes/HybridRick2/wleiden.yaml
r10715 r10729 13 13 rdnap_x : 92280 14 14 rdnap_y : 461707 15 release : "9.0-RELEASE" 16 service_accesspoint: True 17 service_proxy_ileiden: True 18 service_proxy_normal: True 19 status : "up" 20 rdr_host: "riff.vanderzwet.net" 15 rdr_host : "riff.vanderzwet.net" 21 16 rdr_rules : 22 17 - ['tcp', 9080, '172.17.0.41', 80] … … 24 19 - ['tcp', 9082, '172.17.0.43', 80] 25 20 - ['tcp', 9083, '172.17.0.44', 80] 21 release : "9.0-RELEASE" 26 22 remote_access: "riff.vanderzwet.net:2022" 23 service_accesspoint: True 24 service_proxy_ileiden: True 25 service_proxy_normal: True 26 status : "up" 27 27 28 28 -
nodes/HybridRund/wleiden.yaml
r10715 r10729 14 14 rdnap_x : 93763 15 15 rdnap_y : 464042 16 rdr_host : "83.163.239.115" 17 rdr_rules : 18 - ['tcp', 9080, '172.17.0.41', 80] 19 - ['tcp', 9081, '172.17.0.42', 80] 20 - ['tcp', 9082, '172.17.0.43', 80] 21 - ['tcp', 9083, '172.17.0.44', 80] 16 22 release : "9.0-RELEASE" 17 23 service_accesspoint: True … … 19 25 service_proxy_normal: True 20 26 status : "up" 21 rdr_host: "83.163.239.115"22 rdr_rules :23 - ['tcp', 9080, '172.17.0.41', 80]24 - ['tcp', 9081, '172.17.0.42', 80]25 - ['tcp', 9082, '172.17.0.43', 80]26 - ['tcp', 9083, '172.17.0.44', 80]27 27 28 28 … … 66 66 ssid : "il-o.geluidsnet2.wleiden.net" 67 67 dhcp : False 68 compass : " e"68 compass : "w" 69 69 ns_ip : "172.16.4.211/29" 70 70 ns_mac : "00:27:22:8a:3d:a7" … … 84 84 ssid : "il-no.vosko2.wleiden.net" 85 85 dhcp : False 86 compass : " ne"86 compass : "zw" 87 87 ns_ip : "172.16.17.155/29" 88 88 ns_mac : "00:27:22:10:d8:43" -
nodes/HybridSOM2/wleiden.yaml
r10712 r10729 108 108 ssid : "il-zo.som2.wleiden.net" 109 109 dhcp : False 110 compass : " se"110 compass : "zo" 111 111 ns_ip : "172.16.17.186/29" 112 112 ns_mac : "00:15:6d:f2:38:cd" -
nodes/HybridWBRotary/wleiden.yaml
r10715 r10729 14 14 rdnap_x : 103755 15 15 rdnap_y : 464588 16 release : "9.0-RELEASE" 17 remote_access: "" 18 service_accesspoint: True 19 service_proxy_ileiden: True 20 service_proxy_normal: True 21 status : "up" 22 rdr_host: "94.209.113.8" 16 rdr_host : "94.209.113.8" 23 17 rdr_rules : 24 18 - ['tcp', 21, '172.17.0.45', 21] … … 30 24 - ['udp', 1194, '172.19.128.68', 1194] 31 25 - ['tcp', 3389, '172.17.0.45', 3389] 26 release : "9.0-RELEASE" 27 remote_access: "" 28 service_accesspoint: True 29 service_proxy_ileiden: True 30 service_proxy_normal: True 31 status : "up" 32 32 33 33 … … 95 95 ssid : "il-n.wbrotary.wleiden.net" 96 96 dhcp : False 97 compass : " n"97 compass : "w" 98 98 dhcpclient : True 99 99 ns_ip : "172.16.18.34/29" -
nodes/ProxyHerman/wleiden.yaml
r10527 r10729 46 46 ssid : "il-n.watertoren2.wleiden.net" 47 47 dhcp : False 48 compass : " n"48 compass : "z" 49 49 ns_ip : "172.17.0.35/28" 50 50 ns_mac : "00:15:6d:70:53:4f" -
tools/gformat.py
r10715 r10729 31 31 import time 32 32 import rdnap 33 import math 33 34 import make_network_kml 34 35 from pprint import pprint … … 140 141 141 142 142 143 def make_relations(): 143 def network(ip): 144 addr, mask = ip.split('/') 145 # Not parsing of these folks please 146 addr = parseaddr(addr) 147 mask = int(mask) 148 network = addr & ~((1 << (32 - mask)) - 1) 149 return network 150 151 152 153 def make_relations(datadumps=None): 144 154 """ Process _ALL_ yaml files to get connection relations """ 145 errors = ""155 errors = [] 146 156 poel = defaultdict(list) 147 for host in get_hostlist(): 157 158 if not datadumps: 159 for host in get_hostlist(): 160 datadumps[host] = get_yaml(host) 161 162 for host, datadump in datadumps.iteritems(): 148 163 try: 149 datadump = get_yaml(host)150 164 for iface_key in datadump['autogen_iface_keys']: 151 l = datadump[iface_key]['ip'] 152 addr, mask = l.split('/') 153 154 # Not parsing of these folks please 155 if not valid_addr(addr): 156 continue 157 158 addr = parseaddr(addr) 159 mask = int(mask) 160 network = addr & ~((1 << (32 - mask)) - 1) 161 poel[network] += [(host,datadump[iface_key])] 165 net_addr = network(datadump[iface_key]['ip']) 166 poel[net_addr] += [(host,datadump[iface_key])] 162 167 except (KeyError, ValueError), e: 163 errors += "[FOUT] in '%s' interface '%s'" % (host,iface_key) 164 errors += e 168 errors.append("[FOUT] in '%s' interface '%s' (%s)" % (host,iface_key, e)) 165 169 continue 166 170 return (poel, errors) … … 189 193 """ 190 194 dy = lat2 - lat1 191 dx = math.cos( math.pi/180*lat1)*(long2 - long1)195 dx = math.cos(lat1)*(long2 - long1) 192 196 angle = math.atan2(dy,dx) 193 197 return angle 194 198 199 200 195 201 def angle_to_cd(angle): 196 202 """ Return Dutch Cardinal Direction estimation in 'one digit' of radian angle """ … … 198 204 # For easy conversion get positive degree 199 205 degrees = math.degrees(angle) 200 if degrees < 0: 201 360 - abs(degrees) 206 abs_degrees = 360 + degrees if degrees < 0 else degrees 202 207 203 208 # Numbers can be confusing calculate from the 4 main directions 204 209 p = 22.5 205 if degrees < p:206 return"n"207 elif degrees < (90 - p):208 return"no"209 elif degrees < (90 + p):210 return"o"211 elif degrees < (180 - p):212 return"zo"213 elif degrees < (180 + p):214 return"z"215 elif degrees < (270 - p):216 return"zw"217 elif degrees < (270 + p):218 return"w"219 elif degrees < (360 - p):220 return"nw"210 if abs_degrees < p: 211 cd = "n" 212 elif abs_degrees < (90 - p): 213 cd = "no" 214 elif abs_degrees < (90 + p): 215 cd = "o" 216 elif abs_degrees < (180 - p): 217 cd = "zo" 218 elif abs_degrees < (180 + p): 219 cd = "z" 220 elif abs_degrees < (270 - p): 221 cd = "zw" 222 elif abs_degrees < (270 + p): 223 cd = "w" 224 elif abs_degrees < (360 - p): 225 cd = "nw" 221 226 else: 222 return "n" 227 cd = "n" 228 return cd 229 230 231 232 def cd_between_hosts(hostA, hostB, datadumps): 233 # Using RDNAP coordinates 234 dx = float(int(datadumps[hostA]['rdnap_x']) - int(datadumps[hostB]['rdnap_x'])) * -1 235 dy = float(int(datadumps[hostA]['rdnap_y']) - int(datadumps[hostB]['rdnap_y'])) * -1 236 return angle_to_cd(math.atan2(dx,dy)) 237 238 # GPS coordinates seems to fail somehow 239 #latA = float(datadumps[hostA]['latitude']) 240 #latB = float(datadumps[hostB]['latitude']) 241 #lonA = float(datadumps[hostA]['longitude']) 242 #lonB = float(datadumps[hostB]['longitude']) 243 #return angle_to_cd(angle_between_points(latA, latB, lonA, lonB)) 223 244 224 245 … … 333 354 def is_member(ip, mask, canidate): 334 355 """ Return True if canidate is part of ip/mask block""" 335 ip_addr = gformat.parseaddr(ip)336 ip_canidate = gformat.parseaddr(canidate)356 ip_addr = parseaddr(ip) 357 ip_canidate = parseaddr(canidate) 337 358 mask = int(mask) 338 359 ip_addr = ip_addr & ~((1 << (32 - mask)) - 1) … … 1320 1341 # First generate all datadumps 1321 1342 datadumps = dict() 1343 ssid_to_node = dict() 1322 1344 for host in get_hostlist(): 1323 1345 logger.info("# Processing: %s", host) … … 1327 1349 datadumps[datadump['autogen_realname']] = datadump 1328 1350 1351 (poel, errors) = make_relations(datadumps) 1352 print "\n".join(["# WARNING: %s" % x for x in errors]) 1329 1353 1330 1354 for host,datadump in datadumps.iteritems(): … … 1364 1388 if not datadump[iface_key].has_key('desc'): 1365 1389 datadump[iface_key]['desc'] = 'autogen-FIXME' 1390 # Set the compass value based on the angle between the poels 1391 if datadump[iface_key].has_key('ns_ip'): 1392 my_pool = poel[network(datadump[iface_key]['ip'])] 1393 remote_hosts = list(set([x[0] for x in my_pool]) - set([host])) 1394 if remote_hosts: 1395 compass_target = remote_hosts[0] 1396 datadump[iface_key]['compass'] = cd_between_hosts(host, compass_target, datadumps) 1397 1366 1398 store_yaml(datadump) 1367 1399 elif sys.argv[1] == "list":
Note:
See TracChangeset
for help on using the changeset viewer.