Skip to content

Instantly share code, notes, and snippets.

View AtaxyaNetwork's full-sized avatar

Cécile Morange AtaxyaNetwork

View GitHub Profile
@AtaxyaNetwork
AtaxyaNetwork / gist:b3c05bb4518c52279da87f3c8ecfc952
Created September 1, 2026 12:36
Grafana Dashboard - Vates VMS - Resource Waste Monitor
{
"apiVersion": "dashboard.grafana.app/v2",
"kind": "Dashboard",
"metadata": {
"name": "infrastructure-waste",
"namespace": "default",
"uid": "62ef150f-49da-4b3f-a3a0-4c55bdcb191e",
"resourceVersion": "1788266029884986",
"generation": 35,
"creationTimestamp": "2026-07-20T15:04:54Z",
@AtaxyaNetwork
AtaxyaNetwork / create_vlan.tf
Created July 30, 2026 09:52
Bulk create VLAN on Xen Orchestra with terraform
terraform {
required_providers {
xenorchestra = {
source = "vatesfr/xenorchestra"
version = ">= 0.35.0, < 1.0.0"
}
}
}
provider "xenorchestra" {
### Credit to https://github.com/bobalob/ahv-on-hyperv
#!/bin/bash
workingDir=$(pwd)
isoname="phoenix.x86_64-fnd_5.6.1_patch-aos_6.8.1_ga.iso"
if [ ! -f "$workingDir/$isoname" ]; then
echo "$isoname does not exist in $workingDir"
exit 1
@AtaxyaNetwork
AtaxyaNetwork / sources.list
Last active August 24, 2025 11:26
Debian 13 (trixie) sources.list
deb http://deb.debian.org/debian/ trixie main non-free-firmware
deb-src http://deb.debian.org/debian/ trixie main non-free-firmware
deb http://security.debian.org/debian-security trixie-security main non-free-firmware
deb-src http://security.debian.org/debian-security trixie-security main non-free-firmware
deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ trixie-updates main non-free-firmware
@AtaxyaNetwork
AtaxyaNetwork / bgp-filter.txt
Last active October 18, 2023 19:45
BGP routing filter ROS7
Replace $PREFIX-v4 and $PREFIX-v6 with your prefixes (eg. 192.0.2.0/24)
Replace $LEIGHT with the length of your prefix (eg. 24)
chain=BGP-IN-v4 rule="if ( dst==$PREFIX-v4 ) { reject }"
chain=BGP-IN-v4 rule="if ( dst==192.168.0.0/16) { reject }"
chain=BGP-IN-v4 rule="if ( dst==127.0.0.0/8) { reject }"
chain=BGP-IN-v4 rule="if ( dst==10.0.0.0/8 ) { reject }"
chain=BGP-IN-v4 rule="if ( dst==169.254.0.0/16) { reject }"
chain=BGP-IN-v4 rule="if ( dst==172.16.0.0/12 ) { reject }"