{
"alerts": [
{
"annotations": {
"description": "New device DF502B50F29141129E775AF71A350E46 was detected with Zerotouch disabled",
This file contains 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 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 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 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 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 | |
} |
This file contains 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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
This file contains 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 | |
echo "Jumphost Remote access configuration" | |
_EAPI_PORT=443 | |
_SSH_PORT=22 | |
_SRC_IF='ens3' | |
_DST_IF='ens4' | |
echo '* Activate kernel routing' |
This file contains 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
- name: Cloudvision v3 test playbook | |
hosts: cv_server | |
connection: local | |
gather_facts: false | |
collections: | |
- arista.avd | |
- arista.cvp | |
vars: | |
execute_tasks: true | |
CVP_DEVICES: |
NewerOlder