Changeset 519 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 10/19/12 16:15:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r518 r519 26 26 %allocated %free %routed %bigfree %IPDBacl %aclmsg 27 27 &initIPDBGlobals &connectDB &finish &checkDBSanity &allocateBlock &addMaster 28 &deleteBlock &getBlockData &mailNotify 28 &deleteBlock &getBlockData 29 &getNodeList 30 &mailNotify 29 31 ); 30 32 … … 34 36 @masterblocks %allocated %free %routed %bigfree %IPDBacl %aclmsg 35 37 &initIPDBGlobals &connectDB &finish &checkDBSanity &allocateBlock 36 &addMaster &deleteBlock &getBlockData &mailNotify 38 &addMaster &deleteBlock &getBlockData 39 &getNodeList 40 &mailNotify 37 41 )] 38 42 ); … … 832 836 833 837 838 ## IPDB::getNodeList() 839 # Gets a list of node ID+name pairs as an arrayref to a list of hashrefs 840 sub getNodeList { 841 my $dbh = shift; 842 843 my $ret = $dbh->selectall_arrayref("SELECT node_id, node_name FROM nodes ORDER BY node_type,node_id", 844 { Slice => {} }); 845 return $ret; 846 } # end getNodeList() 847 848 834 849 ## IPDB::mailNotify() 835 850 # Sends notification mail to recipients regarding an IPDB operation
Note:
See TracChangeset
for help on using the changeset viewer.