As a developer who worked on Cisco's operating systems (IOS, IOS-XE, IOS-XR, NXOS), routing protocols, kernel programming, virtual memory, device drivers and SDN, I needed a lot of time to understand how cloud computing can be done using Python. When I read that OpenStack is a cloud “operating system”, I was not able to comprehend why Wikipediasays that OpenStack is written in Python. On the right is a screenshot from Wikipedia. So, I initially thought OpenStack does not include Linux.
I have been working on OpenStack since 2013 (Grizzly release), and after more than two years, I realize that OpenStack does include “some” Linux (I will elaborate the size of “some” later in this blog!).
To understand the role of Linux in OpenStack, I will continue this blog with a few questions and pictures. The questions and pictures are around Python and Linux. The readers of this blog can find their own answers!
Which figure below is the right way to visualize OpenStack's building blocks ? Is Figure 1 that has a big Python block correct ? Or, is Figure 2 with a big Linux block correct ? Or, should both Python and Linux be equal-sized blocks ?
Who is cute ? Penguin (Linux's logo) or Python ?
According to the theory of evolution, even though Penguins (birds) evolved from Pythons (reptiles), we all know that Linux did not evolve from Python. But, did Python evolve from Linux ?
Who is your hero in the tech industry ? Linus Torvalds (creator of Linux) or Guido van Rossum (creator of Python) ?
As I think about these questions, when someone says "OpenStack minus Python", below are the concepts in OpenStack that immediately come to my mind. All of these concepts can be understood / implemented in Linux and I've listed them for OpenStack's most popular and contributed projects - Neutron, Nova, Glance, Horizon, Keystone and Cinder.
"Neutron minus Python" includes many networking concepts like Linux namespaces, layer-2 switching, VLANs (access, trunk), VXLAN, GRE, layer-3 routing, sockets, bridges, TCP, UDP, dual stack (both IPv4 and IPv6), DHCP, DNS, default routes, broadcast, multicast (IGMP, PIM), unicast, OSI model and a lot of other cool things.
"Nova minus Python" includes many virtualization concepts like hypervisors, bare-metal provisioning, PXE booting, IPMI, libvirt, qemu, KVM, virt-manager, virsh, resource isolation, nested virtualization, cgroups, vNICS, VM snapshots, VM live migration, cloud-init, paravirtualization and a lot of other cool things.
"Glance minus Python" includes many imaging concepts like disk formats (ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, and iso), container formats (ami, ari, aki, bare, and ovf), virtual appliance (ova), image registry, virtual hard disk (VHD) and a lot of other cool things.
"Keystone minus Python" includes many authentication concepts like AAA, Single sign-on (SSO), Federated identity management (FIM), OpenID, cryptography, encryption algorithms (RSA, DSA, SHA, MD5, Diffie-Hellman, PGP), key exchange, key rotation, authentication token and a lot of other cool things.
"Cinder minus Python" includes many storage concepts like Fibre Channel, Fibre Channel over Ethernet (FCoE), Fibre Channel over IP (FCIP), Small Computer System Interface (SCSI), iSCSI (Internet SCSI), Storage Area Networks (SAN), SAN booting, RAID, Logical Unit Number (LUN), data replication and a lot of other cool things.
So, I think Python is the front-end of OpenStack and Linux is the backend that implements a lot of cool things. Along with Python, I think an OpenStack user / developer must try to understand, implement, scale and debug the concepts listed above as well in order to deploy the best clouds. The OpenStack community must also continue to build expertise around these concepts.
For example, it looks like Red Hat is one company that understands these concepts, develops a good Linux distribution as a trusted backend for OpenStack, and makes money from a lot of cloud deployments. Red Hat is the backend Linux distribution for CloudStack as well and makes money from CloudStack RHEL RPMs used by Java lovers too! I really think that cloud providers must try to capitalize and profit from "OpenStack minus Python".
Do let me know your comments and also the answers for the questions in this blog!
Cisco Workload Optimization Manager (CWOM)
Continuously Assure Application Performance at Any Scale
Webinar: Wednesday, October 23rd at 11am ET
Today’s applications utilize traditional virtualization platforms as well as newer DevOps meth...
Hi, I'm trying to find out definitively if the above card is compatible with the N9K-C9508-FM-E Fabric modules. When I do the configuration in CCW, the N9K-X9788TC-FX is the only 1/10GBaseT module option in CCW and the data sheet says it's compatible. How...
Hi all, I have a quick question about old Nexus N9k-C9372PX. Can they do simple vlan mapping 1-to-1 on a trunk port? Like this on Catalyst:https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/15-02SG/configuration/guide/conf...