I hereby claim:
- I am reidstidolph on github.
- I am rstidolph (https://keybase.io/rstidolph) on keybase.
- I have a public key ASAWirO50QJKZCrw5owrsK4Z0IYfC-kVRSP6OHlgpqVp-wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
read -p '128T host address (press enter for localhost): ' ADDRESS | |
if [[ -z "$ADDRESS" ]]; then | |
ADDRESS="127.0.0.1" | |
fi | |
read -p 'Username: ' USER | |
read -s -p 'Password (hidden): ' PASS | |
echo |
#!/usr/bin/env node | |
'use strict'; | |
/* | |
Parses tenant-devices.json file. For each tenant and client named in the array | |
in the form of: | |
[ | |
"tenantName": "my-tenant", | |
"clients": [ |
#!/usr/bin/env node | |
"use strict"; | |
/* | |
Grabs text file containing registered OUI listing, along with all entries from | |
ARP caches available to a 128T host. It then records MAC addresses and vendors | |
to a csv file. | |
*/ | |
const fs = require('fs') |
#!/usr/bin/env bash | |
######################################################## | |
# # | |
# This script attaches a network interface a network # | |
# bridge. Output is logged to system journal, and can # | |
# be viewed with the following: # | |
# # | |
# $ journalctl -t kni-attach # | |
# # |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>128T Template Builder</title> | |
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons" rel="stylesheet"> | |
<link href="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.min.css" rel="stylesheet"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | |
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.js"></script> |
#!/usr/bin/env bash | |
################################################################### | |
# # | |
# This plugin init script is used to network containers built # | |
# with Docker. # | |
# # | |
# It expects a container to have been created in advance # | |
# (e.g. with '--network="none"'). The name of the container # | |
# ('--name') is expected to be passed in as the # |
#!/usr/bin/env node | |
/******************************************************************************* | |
* * | |
* Eventsource Module * | |
* * | |
*******************************************************************************/ | |
var parse = require('url').parse | |
var events = require('events') |
/******************************************************************************* | |
* * | |
* Promise-based sample fetching a JWT from the 128T REST API. * | |
* * | |
*******************************************************************************/ | |
const https = require('https') | |
const host128t = 'my.128t.host.com' // Address or FQDN of 128T host | |
const apiUser = 'admin' // Authorized API user | |
const apiSecret = 'mySup3rS3cr3t' // API user secret |
/******************************************************************************* | |
* * | |
* Promise-based sample fetching active alarms from the 128T REST API. * | |
* * | |
*******************************************************************************/ | |
const https = require('https') | |
const host128t = 'my.128t.host.com' // Address or FQDN of 128T host | |
const tokenString = 'myLongTokenString' // API JWT | |
const routerName = 'my-router-name' // Router name to retrieve alarms for |