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 pass or 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 bgp assert).

Assertion Support

At the time of writing, Suzieq supports assertions for the following services:

  • Interface.
  • OSPF.
  • BGP.
  • EvpnVni.

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.

Ready to Master Network Automation? Start Your Journey Today!
Our membership provides:
  • Full deep-dive course library (inc. Batfish, pyATS, Netmiko)
  • Code repositories inc. full course code, scripts and examples
  • 24x7 multi-vendor labs (Arista, Cisco, Juniper)
  • Private online community
  • Live monthly tech sessions
  • Access to tech session library

Join Now ➜
Close You've successfully subscribed to Packet Coders.
Close Success! Your account is fully activated, you now have access to all content.
Close Welcome back! You've successfully signed in.
Close Nearly there! To activate your account, please click the link in the email we just sent you.