This cookbooks contains recipes and custom resource to install and configure lldpad
centos
- not fully tested on centos, but should workredhat
- not fully tested on redhat, but should workfedora
- not fully tested on redhat, but should workscientific
- not fully tested on scientific, but should workubuntu
- not fully tested on ubuntu, but should workdebian
- not fully tested on debian, but should work
- Chef 12.0 or later
Key | Type | Description | Default |
---|---|---|---|
['lldpad']['install_on_vm_guest'] | Boolean | whether to install lldpad on virtual machines | false |
['lldpad']['disabled_int_type'] | Array | Types of interfaces that should be disabled (adminStatus=disabled) | %w(team bond) |
['lldpad']['ignored_int_type'] | Array | Types of interfaces that should be left unconfigured | %w(docker) |
['lldpad']['adminStatus'] | Symbol | Default lldp setting for interface. :rx - Receive lldp packets :tx - Transmit lldp packets :rxtx - Receive and transmit lldp packets :disabled - lldp doesn't work on this interface | :rxtx |
['lldpad']['sysName'] | Boolean | Whether to transmit System Name TLV | true |
['lldpad']['sysDesc'] | Boolean | Whether to transmit System Description TLV | true |
['lldpad']['sysCap'] | Boolean | Whether to transmit System Caption TLV | true |
['lldpad']['portDesc'] | Boolean | Whether to transmit Port Description TLV | true |
['lldpad']['portID']['enableTx'] | Boolean | Whether to transmit Port ID TLV | true |
['lldpad']['portID']['subtype'] | Symbol | Value of Port ID TLV to be transmitted :PORT_ID_INTERFACE_NAME - Interface name :PORT_ID_MAC_ADDRESS - Mac address :PORT_ID_NETWORK_ADDRESS - IP address |
:PORT_ID_INTERFACE_NAME |
['lldpad']['chassisID']['enableTx'] | Boolean | Whether to transmit Chassis ID TLV | true |
['lldpad']['chassisID']['subtype'] | Symbol | Value of Port ID TLV to be transmitted :CHASSIS_ID_INTERFACE_NAME - Interface name :CHASSIS_ID_MAC_ADDRESS - Mac address :CHASSIS_ID_NETWORK_ADDRESS - IP address |
:PORT_ID_MAC_ADDRESS |
Just include lldpad
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[lldpad]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Dmitry Shestoperov