{
"alerts": [
{
"annotations": {
"description": "New device DF502B50F29141129E775AF71A350E46 was detected with Zerotouch disabled",
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"label":"coverage","message":"90.04%","schemaVersion":1,"color":"hsl(120, 100%, 40%)"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"label":"coverage","message":"83%","schemaVersion":1,"color":"hsl(99, 100%, 40%)"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run \ | |
| --name {{printf "%q" .Name}} \ | |
| {{- with .HostConfig}} | |
| {{- if .Privileged}} | |
| --privileged \ | |
| {{- end}} | |
| {{- if .AutoRemove}} | |
| --rm \ | |
| {{- end}} | |
| {{- if .Runtime}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Test functions related to system-level features and protocols | |
| """ | |
| ## Please refer to https://github.com/titom73/atd-anta-demo/blob/main/docs/demo-tests.md for complete description | |
| from typing import Optional | |
| from anta.models import AntaTest, AntaCommand | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| anta.tests.routing: | |
| bgp: | |
| - VerifyBGPIPv4UnicastCount: | |
| vrfs: | |
| default: des |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # coding: utf-8 -*- | |
| import sys | |
| import logging | |
| import pprint | |
| import random | |
| from pydantic import BaseModel, ValidationError, validator | |
| from anta import inventory | |
| from anta.inventory import AntaInventory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # Author: | |
| # Date: 2022-03-22 | |
| # Version: 0.1.0 | |
| # Info: Script to bump version based on SemVer syntax. DEV id is based on week number | |
| # Example: | |
| # # Assuming current version is v3.32.1.dev2 | |
| # # Bump MAJOR version | |
| # $ bash .github/bump-dev-version.sh major |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script allows you to backup a single volume from a container | |
| # Data in given volume is saved in the current directory in a tar archive. | |
| CONTAINER_NAME=$1 | |
| VOLUME_NAME=$2 | |
| usage() { | |
| echo "Usage: $0 [container name] [volume name]" | |
| exit 1 | |
| } |
NewerOlder