Internal ABI
Oliver Gorwits edited this page Nov 21, 2021
·
9 revisions
Documentation of the internals of Netdisco to aid the implementation of new device and driver support.
Drivers shall populate vars
as below in the main
phase.
The data structure is a list of hash references.
vars->{'v4arps'} = [
{
node => 'aa:bb:cc:00:11:11', # required
ip => '192.0.2.1', # required
dns => 'hostname1.example.com', # optional
},
{
node => 'aa:bb:cc:00:11:22',
ip => '192.0.2.2',
dns => 'hostname2.example.com',
},
];
vars->{'v6arps'} = [
{
node => 'aa:bb:cc:00:11:11',
ip => '2001:0db8:85a3:0000:0000:8a2e:0370:7334',
dns => 'hostname1.example.com',
},
{
node => 'aa:bb:cc:00:11:22',
ip => '2001:0db8:85a3:0000:0000:8a2e:0370:9966',
dns => 'hostname2.example.com',
},
];
- Home
- Installation ⇗
- Configuration ⚙
- API
- Hooks
- Cookbook
- Troubleshooting
- Install Tips
- Vendor Tips
- Database Tips
- Custom Reports
- Release Notes
- Docker Images ⇗
- Commercial Support