opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
137 stars 35 forks source link

"Host Actions" for VLAN Campii, VLANS and Networks #76

Open dongreer opened 10 years ago

dongreer commented 10 years ago

I'm the process of using ONA and Dokuwiki to build a total document solution for our network, and it would be great to have something similar to the "Host Actions" thing on networks, vlans, and vlan campii too. I'd expect to maintain information about what the vlan/network/local was designated for, who may be maintaining it, etc.

I'm sure there's other useful options here too, though I can't think of them at the moment :^).

One thought, on implimentation, perhaps would make more sense to call it "Further Info" or something, and have a more generic format for the config, so instead of:

$conf[$modulename]['Wiki Page']['url'] = "$https/dokuwiki/doku.php?id=network:servers:%fqdn";

you might have: $conf[$modulename]['host']['Wiki Page']['url'] = "$https/dokuwiki/doku.php?id=servers:%fqdn"; $conf[$modulename][network']['Wiki Page']['url'] = "$https/dokuwiki/doku.php?id=networks:%fqdn"; $conf[$modulename]['vlan']['Wiki Page']['url'] = "$https/dokuwiki/doku.php?id=vlans:%fqdn"; $conf[$modulename]['campus']['Wiki Page']['url'] = "$https/dokuwiki/doku.php?id=locations:%fqdn";

Then, when rendering, no "$conf[$modulename]['vlan']" exists, you simply don't render the "Further Info"

on the page.

I know I'd find this useful in explaining the logic of why the network is broken up as it is to people who have to work this stuff after me.