Skip to content

Instantly share code, notes, and snippets.

View Chromico's full-sized avatar
💭
Doing stuff

Chromico Rek Chromico

💭
Doing stuff
View GitHub Profile
@Chromico
Chromico / test_bgp_default-originate_route-map_match.py
Created June 16, 2022 10:09
test_bgp_default-originate_route-map_match.py
from topotato import *
"""
Test BGP Aggregate Address Origin
"""
@topology_fixture()
def allproto_topo(topo):
"""
[ r1 ]
@Chromico
Chromico / test_bgp_aggregate_address_origin.py
Last active June 16, 2022 10:15
test_bgp_aggregate_address_origin.py - ALPHA
from topotato import *
"""
Test BGP Aggregate Address Origin
"""
@topology_fixture()
def allproto_topo(topo):
"""
[ r1 ]
@Chromico
Chromico / test_bgp_aggregate-address_route-map.py
Created June 10, 2022 16:54
test_bgp_aggregate-address_route-map.py
from topotato import *
"""
Test ping
"""
@topology_fixture()
def allproto_topo(topo):
"""
[ r1 ]
|
root@frrr:~/newfrr1/tests/topotato# ./run_userns.sh --frr-builddir=/root/buildfrr/ --log-cli-level=DEBUG -v -v -x test_bgp_aggregate_address_origin.py
======================================================= topotato initialization =======================================================
-------------------------------------------------------- live log sessionstart --------------------------------------------------------
DEBUG topotato:topolinux.py:87 executable unshare found: /usr/bin/unshare
DEBUG topotato:topolinux.py:87 executable nsenter found: /usr/bin/nsenter
DEBUG topotato:topolinux.py:87 executable tini found: /usr/bin/tini
DEBUG topotato:topolinux.py:87 executable dumpcap found: /usr/bin/dumpcap
DEBUG topotato:topolinux.py:87 executable ip found: /usr/sbin/ip
DEBUG topotato:frr.py:124 FRR build directory: '/root/buildfrr'
import pytest
from topotato import *
import logging
"""
WIP - BGP Aggregate Address Origin Test
"""
import pytest
from topotato import *
import logging
"""
WIP - BGP Aggregate Address Origin Test
"""
@Chromico
Chromico / leantime.sh
Created February 21, 2022 08:35
leantime-freebsd
#!/bin/sh
# This script will install a new Leantime instance on a fresh Ubuntu 18.04 server.
# This script is experimental and does not ensure any security.
# === Variables ===============================================================
# printf "Please enter leantime mysql password :"
# read leantimePassword
printf "LEANTIME FREEBSD TERRACANUM"
# === Leantime Installation ===================================================
# Installing packages
@Chromico
Chromico / 960_12_col.css
Created January 29, 2019 15:12 — forked from huythang38/960_12_col.css
960_12_col.css
/*
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
/*
Forces backgrounds to span full width,
even if there is horizontal scrolling.