In this lesson, you will learn:
- What are Suzieq assertions?
- What services do assertions support?
- What checks are performed as part of an assertion?
You can find the scripts and code for this lesson within the Suzieq repo under the directory: 002_suzieq_explore/002_assertions/.
What are Suzieq Assertions?
An assertion lets you validate that a Suzieq service is correctly working. This is achieved by Suzieq running a number of checks for the service and providing a
fail where appropriate. For example, let’s say we want to validate that BGP is correctly working within our data centre, rather than cross-reference the neighbour IPs and ASNs between each of the devices. We could simply use the BGP assert (in the case of the Suzieq CLI, this would be by running
At the time of writing, Suzieq supports assertions for the following services:
It is also worth noting that for interface- and OSPF-based assertions, LLDP (or CDP in the case of Cisco devices) must be operational and successfully polled. This is required for Suzieq to correctly understand the network for the checks that it needs to perform for the given assertion. If Suzieq is unable to perform the assertion due to a lack of LLDP information, you will see an error,
No LLDP peering info, after running the assertion.