<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by The InterCloud Team on Medium]]></title>
        <description><![CDATA[Stories by The InterCloud Team on Medium]]></description>
        <link>https://medium.com/@theintercloudteam?source=rss-4dd99b946ba6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gCDzJkinizXfbWDwPB-wtw.png</url>
            <title>Stories by The InterCloud Team on Medium</title>
            <link>https://medium.com/@theintercloudteam?source=rss-4dd99b946ba6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 07:23:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@theintercloudteam/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Leverage your infrastructure meta-data]]></title>
            <link>https://medium.com/intercloud/leverage-your-infrastructure-meta-data-a4f9a3ff34f3?source=rss-4dd99b946ba6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a4f9a3ff34f3</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[The InterCloud Team]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 11:01:09 GMT</pubDate>
            <atom:updated>2020-01-21T10:09:22.410Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>By </strong><a href="https://www.linkedin.com/in/ceroupierre/"><strong>Pierre Cérou</strong></a><strong>, </strong>Chief Cloud Evangelist, InterCloud</p><p>InterCloud provides Connectivity Services over a Software-defined platform. This means that our services are positioned at the edge of 2 domains usually seen as totally different worlds, the Infrastructure domain and the Application domain. Both have been historically defined as isolated areas, with very little common language used in their definition and almost no bridge between them to share and reconciliate their key metrics. As a result, the very first challenge is to collect relevant infrastructure data and feed applications with the required information. The second challenge is to manage some infrastructure components directly from the application.</p><p>Some may argue that it’s usually possible to collect these data from most devices involved in their path, between the source and the destination. Even if this seems to be an acceptable option, it’s not a sensible approach in terms of design since this would tightly link some components of infrastructure with the application layer. The real solution would be to get a higher-level description of the way the infrastructure has been built. Of course, this view should be dynamic and reflect any change or update of the infra.</p><p><strong>Fill the gap between Infrastructure and applications</strong></p><p>Our service offering is much more than a sales proposal, it’s a full language designed to describe your infrastructure. The basic vocabulary is provided by the set of objects we’ve created on the platform (connectors, capacity, cloud appliances, links, etc. This language is constantly improved when more services or options are added.</p><p><strong>API to query the infrastructure</strong></p><p>Using our standard APIs (based on the OpenAPI v2 specifications — Swagger) makes it easy to create an application that is aware of the surrounding infrastructure. These API calls will provide meta-data about the overall design of the infra (who’s connected to what, technical setup of objects) and data about usage (KPIs, usage, port i/o).</p><p><strong>A JSON description of your infrastructure</strong></p><p>The following page is an example of formal description for a customer infrastructure using our organization/cloud appliances/groups/connector and links … This JSON description has been built by calling the InterCloud API. Reply is a JSON, easy to re-use in many data management tools, or in your own code.</p><p>In this example, we’ve deployed 2 “cloud appliances” (light blue frame). In terms of connectivity, services have been created using 2 groups (red and black frames), each supporting a number of connectors for both the enterprise and CSP sides. In each “groups”, some “connectors” are associated using “links” to deliver the traffic.</p><p>This JSON has been created by an application designed to provide a high-level view of our customer’s services. It’s not a production tool, but just a way to show the benefits of using infrastructure meta-data as a way to monitor and troubleshoot services.</p><p>The format of this JSON is a draft of something which may become a standard way to describe a cloud access infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*dF0QWQmprzH2V383WEmipw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*2g7W1llLlbwMePxgboPvGA.png" /></figure><p>A graphical representation of the above JSON description would be as below for the first group (black frame), using only one “cloud appliance”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/412/1*X2U05j1mOloXSaGHcz1T8A.png" /><figcaption><strong><em>Fig. 1: “group-1-id” graphical representation</em></strong></figcaption></figure><p>For the second group (red frame), we built a standard “client-side resiliency” by using both “cloud appliances”. Here is what the graphical view would look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*y3fsFvoDLmzriri3J6c6hA.png" /><figcaption><strong>Fig. 2: “group-2-id” graphical representation</strong></figcaption></figure><p>This graphical representation is convenient to get an easy and visual access to the service KPIs. The JSON below shows a (simplified) set of latency figures for a specific link as provided by the API.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*xGj78j-dXIzdfevUIej4ZA.png" /></figure><p>The screenshot below shows this timeseries representation in the application. These values may also feed a monitoring tool and trigger alerts as required. This may also be used to train and feed deep learning services in order to analyze and identify some non-standard traffic patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*coP6UaMhnhvMdPWf0p_jwA.png" /><figcaption><strong><em>Fig. 3: link KPI (latency) graphical representation</em></strong></figcaption></figure><p><strong>Next steps?</strong></p><p>From the beginning, our vision has been to create a component which will bring connectivity in DevOps automation processes. The formal description of the infra as described above is the first step required to hit that goal.</p><p>The next major step will be to make our model fit into a DevOps tool designed to provision the full “IT Picture”. Many tools are available to deliver that kind of service, but for most of them, it’s easy to figure out how our Infrastructure description language (based on Connectors, Links, Capacity, Cloud Appliances, etc) will fit into these tools. This list of tools includes (but is not limited to …), Ansible, Terraform, Chef, Jenkins and many more. Good news is that most tools may leverage our software-driven connectivity platform. Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4f9a3ff34f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intercloud/leverage-your-infrastructure-meta-data-a4f9a3ff34f3">Leverage your infrastructure meta-data</a> was originally published in <a href="https://medium.com/intercloud">InterCloud</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Network Automation with Python]]></title>
            <link>https://medium.com/intercloud/network-automation-with-python-a38602e389bd?source=rss-4dd99b946ba6------2</link>
            <guid isPermaLink="false">https://medium.com/p/a38602e389bd</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[network-automation]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[The InterCloud Team]]></dc:creator>
            <pubDate>Wed, 03 Jan 2018 14:51:19 GMT</pubDate>
            <atom:updated>2019-11-06T10:40:15.589Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Recent technological developments and a new book from Eric Chou tie it all together</em></p><p><strong>By </strong><a href="https://www.linkedin.com/in/benjaminryzman/"><strong>Benjamin Ryzman</strong></a><strong>, </strong>Co-founder and CTO, InterCloud</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*zXCu6V8ewxh9deFN59kB-Q.jpeg" /></figure><p>InterCloud has been pursuing an effort to automate its infrastructure for some time now. We have experience in automated configuration management on Brocade, Cisco and Juniper hardware.</p><p>Since 2011, we have been using <strong>RANCID </strong>[Really Awesome New Cisco confIg Differ] for the backup and versioning of the configuration of our equipment as well as for systematizing the changes.</p><p>RANCID quickly showed us its limitations, and, in general, the community considers the project obsolete — the development stack has gone out of style.</p><p>But that’s not a big surprise since RANCID is based on Expect, the TCL extension designed by Don Libes in the early 1990s. And, although effective, RANCID has found a home among the “lost arts,” much like AWK and Perl, and is mastered by only a few (including ourselves), all of whom are becoming increasingly rare — and decreasingly vocal.</p><p>The fact is that RANCID is based on a number of assumptions that are no longer valid in the context of modern production network environments. These include its emulating the slow and random typing rate of a human so as not to “overload” the system’s CPU, storing configurations in a centralized and outdated file version management system (CVS), concentrating run commands in order to query devices on their configuration in vendor-dependent scripts and storing passwords in plain text in flat configuration files.</p><p>Our engineering team has patched RANCID in many places, even rewriting some of its scripts, in an attempt to correct many of these limitations. This task has become tedious and less feasible over time.</p><p>One open-source alternative is known as Oxidized. Written in Ruby, it aims to correct several of RANCID’s restrictions. Notably, Oxidized stores configurations in databases to facilitate scaling, integrates its own monitor for scheduling, and is open to other file versioning systems, such as Git. Alas, the Oxidized developer doesn’t have enough time for the project’s upkeep, but I’m sure he’d be interested in hearing from you, if you have time to spare. You can contact him at <a href="https://github.com/ytti/oxidized#help-needed."><em>https://github.com/ytti/oxidized#help-needed</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PYams5Kwnz6AhNTr1QLW0A.jpeg" /></figure><p>Further, devops tools are beginning to emerge to address operator network automation issues. Ansible and Salt are among the most frequently used tools in production. Today our team mainly uses Ansible, written in <strong>Python</strong>. Therefore, the release of Eric Chou’s most recent book “<a href="https://www.amazon.com/Mastering-Python-Networking-Eric-Chou/dp/1784397008">Mastering Python Networking”</a> comes at the perfect time, and is particularly interesting for InterCloud. Chou also writes regularly about these topics on his <a href="http://blog.pythonicneteng.com/">blog</a>.</p><p>In their latest Priority Queue <a href="http://packetpushers.net/podcast/podcasts/pq-135-mastering-python-networking-book/">Episode</a>, published on Nov. 9, Packet Pushers present a podcast on the book “Mastering Python Networking,” and lets the author share his insights on various aspects of Python network programming<em>.</em></p><p>With <a href="http://ethancbanks.com/publications/">Ethan Banks</a> as the host, the informative podcast discusses the many flavors of software-defined (or “driven”) networks and addresses such issues as the main challenges of network operation, highlighting in particular a variety of proprietary APIs supported (or not) by hardware vendors. The podcast raises the omnipresent question of standardization vs. innovation, as illustrated by the lack of progress in vendors agreeing to accept an industry standard for MIBs on top of the venerable SNMP MIB-II, or by the slow pace of implementation of YANG data models. More information is available <a href="https://www.oneaccess-net.com/images/public/wp_heavy_reading.pdf">here</a>.</p><p>The duo discusses the emergence of <a href="https://napalm.readthedocs.io/en/latest/">NAPALM </a>as a unitary abstraction layer to support a variety of equipment implemented in operator network production. One of its main interests, according to the two speakers in the podcast, seems to be the generalization of the configuration “commit/ rollback.” It is a feature that is supported by more recent network operating systems, such as JunOS or IOS-XR and is quite appealing in terms of configuration management. Providing tools to emulate it on older systems is extremely useful. I am very curious to see if — and how — NAPALM is able to implement these automatic rollback features.</p><p>Another aspect highlighted by Chou concerning the richness of Python libraries is the abstraction layer of SQLAlchemy databases. Chou took Banks by surprise on the matter: Banks wanted to talk about “Time Series Databases” to briefly introduce this family of databases and their applications. InterCloud implements InfluxDB and Telegraph and, like Banks, we do not use SQLAlchemy to interact with these tools. However, we are going to study this possibility with great interest. Take a look at <a href="https://github.com/amancevice/influxalchemy"><em>https://github.com/amancevice/influxalchemy</em></a><em> </em>and <a href="https://github.com/jjmalina/pyinfluxql"><em>https://github.com/jjmalina/pyinfluxql</em></a>. Both seem to demonstrate that it’s not as simple as Chou claims.</p><p>Banks and Chou subsequently discuss Python 3 vs 2.</p><p>At <a href="http://www.intercloud.com/"><strong>InterCloud</strong></a>, we standardized our developments on the latest version of Python early on. We saw this as the only option since there is no new functionality implemented in Python 2. In addition, Python 3 consistently processes internationalized strings coming from the network, and prevents wrong assumptions from the programmer, which is always useful when you develop an API for use in non ASCII-centric environments. Another benefit is that Python 3 handles IPv4 and IPv6 address manipulation and semantics through its IP address standard module.</p><p>Banks asks Chou his opinion on several hot network automation topics, such as use of server-less computing or Raspberry PIs. Chou doesn’t seem to have any experience of using these technologies in production environments but nevertheless shares an enthusiastic point of view.</p><p>As far as InterCloud is concerned, some of our developers are very keen on using AWS Lambda and we have already extensively deployed PIs to monitor hundreds of points in our network, get a summary view of performance and to be alerted in the event of an incident. There is no comparison available between the costs associated with this type of deployment and traditional network monitoring solutions.</p><p>Chou recommends developing on PI 3 models and deploying Zero Ws. It seems like a great idea and would certainly make a good topic for another blog entry. Banks further illustrates the convenience of prototyping with Raspberry PIs using the example of a <a href="https://blog.alexellis.io/serverless-kubernetes-on-raspberry-pi/">Kubernetes cluster with four Raspberry PIs</a> as described in <a href="https://www.amazon.com/Kubernetes-Running-Dive-Future-Infrastructure/dp/1491935677">different book</a> he covered in another this <a href="https://www.amazon.com/Kubernetes-Running-Dive-Future-Infrastructure/dp/1491935677">episode</a>.</p><p>Chou also expresses several “strong opinions” during the interview, for example, when touching on the topic of “the best web framework in Python,” claiming network engineers should not hesitate for long before settling for Flask. We wait anxiously to receive and read the book to determine if his opinions are substantiated. Either way, it’s always useful to learn from various experiences.</p><p>The podcast successfully provides us with an overview of the book: The first chapters cover automation topics such as Expect for Python, Ansible and API REST automation with Flask, while the final chapters describe “real” SDN with OpenFlow.</p><p>The publication will definitely be an excellent addition to our library. It clearly covers areas relevant to our engineering team’s daily activities as well our research about routing hybrid networks at the application layer, using the <a href="https://openflow.stanford.edu/display/ONL/POX+Wiki">OpenFlow protocol with the POX orchestrator</a> and an <a href="https://www.usenix.org/system/files/login/articles/09_reich-online.pdf">SDN domain specific language extending Python, called Pyretic</a>.</p><p>By the way, if any of these subject matters are of interest to you, InterCloud is quickly expanding our engineering team (engineers, architects, leads, etc.). If you’d like to work with InterCloud, <a href="https://www.intercloud.com/about_careers">drop us a message</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a38602e389bd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/intercloud/network-automation-with-python-a38602e389bd">Network Automation with Python</a> was originally published in <a href="https://medium.com/intercloud">InterCloud</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>