Changeset 11510 in genesis
- Timestamp:
- Sep 28, 2012, 8:02:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/node-editor
r11506 r11510 59 59 60 60 61 rlinput_choices("Test", gformat.get_hostlist())62 61 63 62 … … 100 99 ifname = rlinput("Interface name", "vr%i" % if_nr) 101 100 if_nr = if_nr + 1 102 remote = rlinput("Remote Node", "Unused") 101 remote = rlinput_choices("Create interlink", gformat.get_hostlist(),'HybridCeTIM2') 102 remote_datadump = gformat.get_yaml(remote) 103 print "Available remote interfaces:" 104 for ifkey in remote_datadump['autogen_iface_keys']: 105 ifdump = remote_datadump[ifkey] 106 print " - %4s" % ifdump['autogen_ifbase'], '- %30s' % ifdump['comment'], 107 if ifdump.has_key('ssid'): 108 print '-', ifdump['ssid'] 109 else: 110 print '' 111 iface = rlinput_choices("Interface Used", remote_datadump['autogen_iface_keys'], "vr1") 103 112 netmask = 28 104 113 print "Generating the Interlink IP range..." 105 114 link_network = getrange.get_ranges(True, netmask, 1)[0] 115 106 116 datadump['iface_%s' % ifname] = { 107 117 'comment': rlinput(" - Comment", "Link naar " + remote),
Note:
See TracChangeset
for help on using the changeset viewer.