This script retrieves number of associated clients to APs from Cisco WLC via SNMP.
$ sudo apt install python3
| libssh | |
| build |
| #!/usr/bin/env python3 | |
| import sys | |
| import time | |
| import json | |
| import argparse | |
| import subprocess | |
| class Counter: | |
| def __init__(self, stats64_json = None ): |
| #include <stdio.h> | |
| #include <fcntl.h> | |
| #include <sys/time.h> | |
| #include <lkl.h> | |
| #include <lkl_host.h> | |
| int main(int argc, char **argv) | |
| { |
| #!/bin/bash | |
| ip=/sbin/ip | |
| ipns="$ip netns exec" | |
| function make_netns() { | |
| ns=$1 | |
| echo create netns $ns |
This document describes how to play SRv6 PSP and End.AM with a modified linux kernel, which was implemented for Interop Tokyo 2019 ShowNet.
The enhancements are:
We are currently working for brushing up patches to try upstream ;)
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "generic/ubuntu1804" | |
| config.vm.define :lagopus do |box| | |
| box.vm.box = "generic/ubuntu1804" | |
| box.vm.hostname = "lagopus" | |
| box.vm.network :private_network, ip: "192.168.55.11" |
| - hosts: localhost | |
| vars: | |
| GOPATH : "{{ lookup('env', 'HOME') }}/go" | |
| VSWCONF: /usr/local/etc/vsw.conf | |
| environment: | |
| GOPATH: "{{ GOPATH }}" | |
| PATH: "{{ lookup('env', 'PATH') }}:{{ GOPATH }}/bin" | |
| LD_LIBRARY_PATH: /usr/src/dpdk-stable-17.11.1/build/lib |
| Current configuration: | |
| ! | |
| frr version 6.0 | |
| frr defaults traditional | |
| hostname frr1 | |
| log file /var/log/frr.log informational | |
| service integrated-vtysh-config | |
| username cumulus nopassword | |
| ! | |
| vrf vrf1 |
| #!/usr/bin/env python3 | |
| import sys | |
| import socket | |
| from contextlib import closing | |
| import telemetry_top_pb2 | |
| import logical_port_pb2 | |
| from pprint import pprint |