Arista eAPI

The sFlow and eAPI features of EOS (Extensible Operating System) are standard across the full range of Arista Networks switches. This article demonstrates how the real-time visibility provided by sFlow telemetry can be combined with the programmatic control of eAPI to automatically adapt the network to changing traffic conditions.

In the diagram, the sFlow-RT analytics engine receives streaming sFlow telemetry, provides real-time network-wide visibility, and automatically applies controls using eAPI to optimize forwarding, block denial of service attacks, or capture suspicious traffic.

Arista eAPI 101 describes the JSON RPC interface for programmatic control of Arista switches. The following eapi.js script shows how eAPI requests can be made using sFlow-RT's JavaScript API:
function runCmds(proto, agent, usr, pwd, cmds) {
var req = {
jsonrpc:'2.0',id:'sflowrt',method:'runCmds',
params:{version:1,cmds:cmds,format:'json'}
};
var url = (proto || 'http')+'://'+agent+'/command-api';
var resp = http(url,'post','application/json',JSON.stringify(req),usr,pwd);
if(!resp) throw "no response";
resp = JSON.parse(resp);
if(resp.error) throw resp.error.message;
return resp.result;
}
The following test.js script demonstrates the eAPI functionality with a basic show request:
include('eapi.js');
var result = runCmds('http','10.0.0.90','admin','arista',['show hostname']);
logInfo(JSON.stringify(result));
Starting sFlow-RT:
env "RTPROP=-Dscript.file=test.js" ./start.sh
Running the script generates the following output:
2017-07-10T14:00:06-0700  Continue reading

Moby Summit alongside Open Source Summit North America

Since the Moby Project introduction at DockerCon 2017 in Austin last April, the Moby Community has been hard at work to further define the Moby project, improve its components (runC, containerd, LinuxKit, InfraKit, SwarmKit, Libnetwork and Notary) and fine processes and clear communication channels.

All project maintainers are developing these aspects in the open with the support of the community. Contributors are getting involved on GitHub, giving feedback on the Moby Project Discourse forum and asking questions on Slack. Special Interest Groups (SIGs) for the Moby Project components have been formed based on the Kubernetes model for Open Source collaboration. These SIGs ensure a high level of transparency and synchronization between project maintainers and a community of heterogeneous contributors.

In addition to these online channels and meetings, the Moby community hosts regular meetups and summits. Check out the videos and slides from the last DockerCon Moby May Summit and June Moby Summit to catch up on the latest project updates. The Moby Summit page on the Moby website contains the agenda and registration link for next Moby summit, as well as recaps of previous summit. 

The next Moby Summit will take Continue reading

67% off BioShock: The Collection for PlayStation 4 – Deal Alert

Return to the cities of Rapture and Columbia and experience the award-winning BioShock franchise like never before. BioShock: The Collection retells the epic journeys of the BioShock universe beautifully remastered in 1080p. BioShock: The Collection contains all single-player content from BioShock, BioShock 2, and BioShock Infinite, all single-player add-on content, the 'Columbia’s Finest' pack, and Director’s Commentary: Imagining BioShock, featuring Ken Levine and Shawn Robertson. The list price for the PlayStation 4 version has been reduced 67% to just $19.99. XBox One and PC versions have been discounted as well. See this deal on Amazon.To read this article in full or to leave a comment, please click here

37% off DYMO LabelWriter Twin Turbo Label Printer and Mailing Scale – Deal Alert

This label maker from Dymo is an all-in-one kit with everything you need to address, weigh and stamp your mail. Thermal printing technology is silent and never needs ink, toner, or ribbons. 300 dpi resolution 55 labels per minute print speed. Includes label printer, scale, 1 roll of 200 DYMO Stamps postage labels and 1 roll of 130 DYMO address labels, as well as a 2-year limited manufacturer warranty. This desktop mailing solution averages 4 out of 5 stars from over 720 people on Amazon (read reviews), there the typical list price has been reduced 37% from $190 down to $119.59. See this deal now on Amazon.To read this article in full or to leave a comment, please click here

Cisco’s M5 UCS servers take intent-based approach to data center

It's not the server -- it's the system. That's the word from Cisco as it rolls out its new, M5 generation Unified Computing System rack and blade servers, triggered by Intel's release of the Xeon Scalable Processor platform.Cisco's new servers use the Xeon Scalable processors -- unveiled Tuesday in New York -- to fuel performance as well as increase server density and throughput.  But the value in the UCS product family lies in how the hardware works with configuration management and optimization software to make data centers run at peak efficiency, company officials say.To read this article in full or to leave a comment, please click here

Cisco’s M5 UCS servers take intent-based approach to data center

It's not the server -- it's the system. That's the word from Cisco as it rolls out its new, M5 generation Unified Computing System rack and blade servers, triggered by Intel's release of the Xeon Scalable Processor platform.Cisco's new servers use the Xeon Scalable processors -- unveiled Tuesday in New York -- to fuel performance as well as increase server density and throughput.  But the value in the UCS product family lies in how the hardware works with configuration management and optimization software to make data centers run at peak efficiency, company officials say.To read this article in full or to leave a comment, please click here

Cisco’s M5 UCS servers take intent-based approach to data center

It's not the server -- it's the system. That's the word from Cisco as it rolls out its new, M5 generation Unified Computing System rack and blade servers, triggered by Intel's release of the Xeon Scalable Processor platform.Cisco's new servers use the Xeon Scalable processors -- unveiled Tuesday in New York -- to fuel performance as well as increase server density and throughput.  But the value in the UCS product family lies in how the hardware works with configuration management and optimization software to make data centers run at peak efficiency, company officials say.To read this article in full or to leave a comment, please click here

High Expectations for Low Precision at CERN

The last couple of years has seen a steady drumbeat for the use of low precision in growing numbers of workloads driven in large part by the rise of machine learning and deep learning applications and the ongoing desire to cut back on the amount of power consumed.

The interest in low precision is rippling through the high-performance computing (HPC) field, spanning companies that are running applications sets to the tech vendors that are creating the systems and components on which the work is done.

The Next Platform has kept a steady eye on the developments the deep-learning and machine-learning

High Expectations for Low Precision at CERN was written by Nicole Hemsoth at The Next Platform.

When is a Connected Route Not Used?

I ran into this situation on a recent project and thought it would make an excellent question on an exam. It could be worded something like this:

What is the behavior of a router or Layer 3 switch when a dynamic route is learned that partially overlaps with a directly connected network?

a. The router reboots
b. The network reboots
c. That’s um-possible
d. None of the above

The answer, of course, is “d” but the specifics of what does happen is what’s interesting. First, this is the scenario I’m trying to describe in the question above:

R12#show ip route
...
Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
D        10.1.14.0/24 [90/1024640] via 123.1.1.14, 00:14:37, Ethernet0/1
C        10.10.10.0/24 is directly connected, Ethernet0/0
L        10.10.10.12/32 is directly connected, Ethernet0/0
D        10.10.10.64/26 [90/1024640] via 123.1.1.14, 00:14:05, Ethernet0/1

R12 has a directly connected network 10.10.10.0/24 on its e0/0 interface. It has also learned a route for 10.10.10.64/26 via an EIGRP neighbor on its e0/1 interface. We can see both networks Continue reading

LockPoS Joins the Flock

While revisiting a Flokibot campaign that was targeting point of sale (PoS) systems in Brazil earlier this year, we discovered something interesting. One of the command and control (C2) servers that had been dormant for quite some time had suddenly woken up and started distributing […]

Episode 7 – Extending Layer 2

There’s plenty of debate in the networking community about the merits of extending layer 2 networks, when you should do it, how you should do it, what pitfalls you should avoid, and what benefits you should expect. Join us as our panel discuss the finer points of what you should consider when you are considering extending layer 2 in your network.

—–
Outro Music:
Danger Storm Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/


Chris Kane
Guest
Kevin Meyers
Guest
Nicolas Michel
Guest
Jordan Martin
Co-Host
Eyvonne Sharp
Co-Host
Phil Gervasi
Co-Host

Outro Music:
Danger Storm Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/

The post Episode 7 – Extending Layer 2 appeared first on Network Collective.

Episode 7 – Extending Layer 2

There’s plenty of debate in the networking community about the merits of extending layer 2 networks, when you should do it, how you should do it, what pitfalls you should avoid, and what benefits you should expect. Join us as our panel discuss the finer points of what you should consider when you are considering extending layer 2 in your network.

—–
Outro Music:
Danger Storm Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/


Chris Kane
Guest
Kevin Meyers
Guest
Nicolas Michel
Guest
Jordan Martin
Co-Host
Eyvonne Sharp
Co-Host
Phil Gervasi
Co-Host

Outro Music:
Danger Storm Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/

The post Episode 7 – Extending Layer 2 appeared first on Network Collective.