Use the `bond` Chef InSpec audit resource to test a logical, bonded network interface (i.e. "two or more network interfaces aggregated into a single, logical network interface"). On Linux platforms, any value in the `/proc/net/bonding` directory may be tested.
The `content` matcher tests if contents in the file that defines the bonded network interface match the value specified in the test. The values of the `content` matcher are arbitrary.
its('content') { should match('value') }
### interfaces
The `interfaces` matcher tests if the named secondary interfaces are available.
its('interfaces') { should eq ['eth0', 'eth1', ...] }
### mode
The `mode` matcher tests the Bonding Mode.
its('mode') { should eq 'IEEE 802.3ad Dynamic link aggregation' }
### params
The `params` matcher tests arbitrary parameters for the bonded network interface.