• Stars
    star
    13
  • Rank 1,464,043 (Top 30 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

commons networking utils

commons-networking

Commons networking related utils.

Note: This is not an official Cisco product.

Features

SSE client

SSE client implementation based on Java 11 HttpClient.
Server-Sent Events (SSE) is a server push technology enabling a client to receive automatic updates from a server via HTTP connection.
The Server-Sent Events EventSource API is standardized as part of HTML.
It is used for unidirectional server to client events, as opposed to the full-duplex bidirectional WebSockets.
One of the use cases is by IEFT Netconf/Restconf protocols: IETF reference

Example usage

SSEClientTest

EventHandler eventHandler = eventText -> { events.add(eventText); };
SSEClient sseClient = SSEClient.builder().url(url).eventHandler(eventHandler)
	.build();
sseClient.start();

GNMI Utils

Parsing string representation of GNMI paths.
Following:
Representing GNMI paths as strings

This is useful for device collection / GNMI path configuration.

Example usage

GNMIUtilsTest

String gnmiPathStr = "openconfig-interfaces/interfaces/interface[name=Ethernet/1/2/3]/state";
Path parsedPath = GNMIUtils.parseGNMIPathStr(gnmiPathStr);

Quality Assurance

Code analysis

Code analysis done with Sonar, and code review.

Testing

Flows are covered by unit tests and manual testing.

Build

Run maven install on commons-networking parent.

Contributions

Licensing


Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Author

Liran Mendelovich

Cisco

More Repositories

1

pyadaptivecards

Author adaptive cards in native python
Python
30
star
2

finesseGadgets

Collection of gadgets for Cisco Finesse
JavaScript
26
star
3

LTRPRG-1100

Cisco Live US 2019 LTRPRG-1100
Python
26
star
4

Cisco-POAP

Python Scripts to perform POAP functionality for the Nexus 9K Switches
Python
23
star
5

cisco-sample-code

License, Examples and Project Templates to enable Cisco resources to produce and share Cisco Sample Code
Python
21
star
6

cisco-sd-wan-export-import

Cisco SD-WAN EXIM (Export and Import) - Command line tool for Cisco SD-WAN vManage configuration management.
Python
21
star
7

ztp-dashboard

Manage zero touch provisioning configurations and automated upgrades for XR and NX devices
CSS
18
star
8

eoxquery

Cisco EOX Query Tool
Python
11
star
9

IOS-XE-ZTP

Code for ZTP with IOS XE 16.9
Python
11
star
10

SnortBlocklistImporter

This is a script to import Cisco Talos's IP Blacklist into a Tag (Host Group) within Stealthwatch. This will also optionally create a Custom Security Event (CSE) to alert on traffic to the blacklisted IPs.
Python
11
star
11

Smart-Licensing-Dashboard

Simple to use Web GUI and Webex Teams front end to Cisco Smart Software Manager
Python
10
star
12

provision-guestshell

This script can be used to provide the initial configuration of a Linux Guest Shell running in IOS-XE.
Python
8
star
13

irflow

A Coordinated and Automated Incident Response Workflow Leveraging Cisco Security.
CSS
8
star
14

ACI_Ansible_FastStrike

Using ansible to automate ACI tenant profile creation
Python
7
star
15

rapid-ztp

Rapid Zero Touch Provisioning (ZTP) - Quickly deploy Cisco IOS devices
Python
7
star
16

ciscodocs-gpt3

A GPT-3 based chatbot, that answers questions about Cisco's products and services
Python
7
star
17

merakiquery

This general python script will query the Cisco Meraki Dashboard for all the users attached to the networks.
Python
7
star
18

tetration-postman

Postman collection for interacting with the Cisco Tetration API
JavaScript
6
star
19

aci-dashboard

Example of a Web-based NOC dashboard for ACI leveraging Dashing.io
JavaScript
6
star
20

video-matrix

Image Composition (Video Matrix) on Cisco Room Kit Series Example
JavaScript
6
star
21

ncb

Web based NetConf Browser
CSS
5
star
22

cc-pyscript

Cookiecutter template for a Python script.
Python
5
star
23

QuickCheck

Webex Teams Bot to quickly/easily check Cisco CE Codec Settings
Python
5
star
24

ChaosNetworkMonkey

Bringing Chaos to a network near you
Python
5
star
25

DEVWKS-2096-CLUS19

Repository for Cisco Live San Diego 2019 DEVNET Workshop session DEVWKS-2096 : Safely using your Nexus 9000 switches as a Kubernetes cluster
Python
5
star
26

grpc_collector

Telemetry collector with gRPC and KVGPB
Go
5
star
27

aci-setup

Scripts to create different objects in ACI to bootstrap the fabric
Python
5
star
28

ISE-Guest-Bot

Code sample used to demo a webex teams bot that can create/add/delete ISE Guest users
Python
4
star
29

tviewer

Display real time topology using gRPC, IOS-XR Telemetry and a very small Mongo database
JavaScript
4
star
30

viptelaquery

A very simple application to query a Viptela vManage infrastructure for data
Python
4
star
31

ngrok-spark-startup-helper

Helps with ngrok tunnel management when developing Cisco WebEx Teams Bots
Python
4
star
32

serverless-cmx

Using Serverless GCP Cloud Functions to implement a demo event driven application with the Meraki Scanning API and Webex Teams
JavaScript
4
star
33

ISE-AD-Monitor

Python
4
star
34

viptela-api-examples

Examples of using the vManage API for Cisco SDWAN (formerly known as Viptela)
Python
4
star
35

apic_em_webapp

django based web interface for polling an apic-em controller
CSS
4
star
36

cdp_discover

This application implements the CDP protocol in Python to receive CDP messages and parse the data
Python
4
star
37

GPRS-MSP-Dashboard

This repository will hold the code for the MSP Dashboard
Python
4
star
38

cane-project

Cisco API Normalization Engine
Go
4
star
39

FibreAttachedPorts

Python
3
star
40

xr-vagrant

IOSXR vagrant example and scripts
Python
3
star
41

PUD202_2020

Ansible Playbooks and Presentation how to migrate legacy Networks into ACI/DCNM with Ansible/AWX
3
star
42

dcu2021-germany-day2automation

Repository for the Code/Content of the german DataCenter University Session "Vereinfachen der Betriebsablรคufe durch Nutzung von Day2 Tools"
3
star
43

ucs-ansible-Examples

ucs-ansible-Examples
Dockerfile
3
star
44

MaxmindAsnImporter

This is a script to import MaxMind ASN data into Tags (Host Groups) within Stealthwatch Enterprise, allowing for more granular tuning and identification of network flows.
Python
3
star
45

Office365Importer

This is a script to import Microsoft Office 365 address space into Tags (Host Groups) within Stealthwatch Enterprise, allowing for more granular tuning and identification of network flows.
Python
3
star
46

CiscoCEDeviceCallConferenceMacro

JavaScript
3
star
47

BulkCreateBreakouts

Shell
3
star
48

webhooksimple

A simple framework/cli tool to setup and sync (Webex Teams) API webhooks
Python
3
star
49

cisco-dnac-activationcheck

Gathering proof of โ€œin-useโ€ activation for Cisco DNA Center when telemetry is not on.
Python
3
star
50

ccwquery

Simple Query Application for Cisco Commerce Workspace
Python
3
star
51

Config_Webex_Teams

Run Configs from Webex Teams
3
star
52

mdp_use_cases

A Repository for NETCONF/YANG Model Driven Programmability Use Cases
Java
3
star
53

virl-howtos

3
star
54

aci_ise_portal

ACI and ISE Portal
CSS
3
star
55

AddMerakiMXL3FirewallRuleToNetworks

Python
3
star
56

tet-aci-annotations

Synchronizes endpoint state information with Cisco Tetration
Python
3
star
57

stealthwatch-config-backup

Stealthwatch Enterprise Config Backup Script
Python
3
star
58

platinum-onboard

Solution for platinum onboarding of users onto a wireless network
Python
3
star
59

python-spark-bot

Spark bot example using python and flask
JavaScript
2
star
60

coding

Coding practices for Cisco SEs, by Cisco SEs
Shell
2
star
61

N7K_FIB_Inconsistency

Detects and recovers inconsistent FIB routes on Nexus 7000 switch
Python
2
star
62

vmo3

Python
2
star
63

get-memoryerrors

PowerShell
2
star
64

voting-bot

Webex Bot which provides voting in a Webex Space
Python
2
star
65

AXLFrontEnd

A MERN+Python FrontEnd to CUCM AXL
JavaScript
2
star
66

homebridge-c9800

A Cisco Wireless LAN Controller plugin for Homebridge
JavaScript
2
star
67

nso-stack-svc-example

NSO Stack Service Example
Python
2
star
68

simple_mop

Simple example to automate MOP show commands
Python
2
star
69

nso-service-ui

Dynamically create web ui from NSO services yang modules
HTML
2
star
70

PIQuery

This Python script will query the Cisco Prime Infrastructure for all the users that are attached to devices in the network.
Python
2
star
71

nx-telemetry-suite

Configure and visualize Nexus telemetry in a single place
CSS
2
star
72

ios_telemetry

Python Script to get, add, update and delete telemetry on IOS-XE using netconf
Python
2
star
73

commons-processing

Commons data processing utilities
Java
2
star
74

CCP-Ansible-Samples

Sample Cisco Container Platrom (CCP) API calls with Ansible
Python
2
star
75

gnso

gRPC interface for Cisco Network Services Orchestrator
Go
2
star
76

cc-cisco-sample-code

Language-agnostic Cookiecutter template for Cisco Sample Code projects.
2
star
77

CMX_MVSENSE_CORRELATION_APPLICATION

CSS
2
star
78

DUSLAB_TF

This Github repository shows the capabilities of Cisco Intersight Service for HashiCorp Terraform.
HCL
2
star
79

terraform-learning

Basic Terraform Examples
HCL
2
star
80

web-traffic-generator

Basic Web traffic generator that probes links on a provided URL.
Python
2
star
81

tmux-sshpass

Example bash program to use tmux + sshpass to pass a series of commands to a set of devices.
Shell
2
star
82

set-ucsKvmCert

PowerShell
2
star
83

BRKDCN-2937-CLEUR20

Repository for Cisco Live Barcelona Breakout BRKDCN-2937 - Automated & Reliable Nexus to ACI Migration Best Practices
Python
2
star
84

nxos-ansible-examples

Dockerfile
2
star
85

tetration-diagram

Script to convert Tetration's ADM output to a diagram format
Python
2
star
86

get-HardDrives

Find hard drives impacted by Field Notice: FN - 70545
PowerShell
2
star
87

basic_netprog_cases

Basic demonstration scripts for introduction to network programmability
Python
2
star
88

webex-teams-oauth

Sample Flask site using Oauth to login to Webex Teams
Python
2
star
89

webexbot-template-SE

A customizable PHP template for a Webex Teams bot
PHP
2
star
90

docker-ansible-netdevops

Docker Container hosting Ansible and collections for network automation
Dockerfile
2
star
91

WebexTeams-ModularBot

Modular Webex Teams bot framework
Python
2
star
92

DEVWKS-2594-CLEUR20

Cisco Live Barcelona 2020 DevNet Workshop 2594 : Leveraging NX-APIs for Customized Operational Analytics
Python
2
star
93

AMP4E-to-ServiceNOW_Incident

Create a ServiceNOW incident when ever there is a malicious event on an endpoint with AMP
Python
2
star
94

Make-VMs

Used for VM Clone Demonstration and testing.
PowerShell
2
star
95

TDM-to-IP-On-Ramp

The idea of the project is to give an easy solution to the Optical Transport World for TMD to IP solution by creating a network backbone with Python Programming so that, the devices are ready for creating services like flex-lsp, pseudowire.
Python
2
star
96

vm2radius

Python
1
star
97

vManageOpsGUI

Python
1
star
98

devasc_demo

Demo Scripts created during studying for DEVASC
Python
1
star
99

board_control

Use HttpFeedback from a WebEx board and control a network-enabled power plug
Python
1
star
100

ISE-HotspotPortal-Customizations

HTML
1
star