Latest / AUDIO – rule 11 reader / Hedge 272: Are we addicted to the CLI?
Transcript
- 0:01Join us as we gather around the hedge,
- 0:03where we dig into technology,
- 0:04business, and culture with the finest minds in
- 0:07computer networking.
- 0:21Well, hello, Tom. How are you? Hey, Russ.
- 0:23I'm doing great. Good.
- 0:25How about you?
- 0:27I'm okay.
- 0:29Things are up and down the last couple
- 0:31of weeks, but, you know so,
- 0:34are you turning the plant so it gets
- 0:35evenly roasted?
- 0:38No. I should, though. That's a good idea.
- 0:41Yeah. I mean, you know, you wouldn't wanna
- 0:43eat a plant that's
- 0:45a raw side and a cooked side. You
- 0:47you really should. I'm glad that you are
- 0:49saying this while I have my headphones on
- 0:51so the plant can't hear you, talking about
- 0:53eating it because I'm pretty sure the plant
- 0:55would be offended.
- 0:58But then I just said If I if
- 0:59I say it louder yeah. I was gonna
- 1:00say if I say it louder, I can
- 1:01make you repeat it and then the plant
- 1:03will hear either way.
- 1:06We're eating you plant. Okay. Alright. And today,
- 1:10we are joined by Mark. Mark, I don't
- 1:12remember your last name. The Prosser.
- 1:14Mark Prosser. There we go.
- 1:17Oh my goodness.
- 1:18My my mind is like a steel sieve,
- 1:20only the big chunks stick.
- 1:24That's what I feel like. It was like
- 1:25my mind is a steel trap. Yeah. My
- 1:27mind's a steel trap with holes.
- 1:29It's okay. It's a regular name. You can
- 1:30say it once and never say it again.
- 1:34So, Mark, where are you physically located?
- 1:36I'm here in Toronto, Ontario, Canada. Okay.
- 1:40Interesting. We've been watching Murdoch. Now according to
- 1:43the Murdoch Mysteries,
- 1:44everything that is of any value in the
- 1:46modern life
- 1:48was invented in Toronto by Murdoch.
- 1:51Okay. I don't know if you ever watched
- 1:53the mysteries, but that's pretty much the way
- 1:55it runs. Oh, we invented a way to
- 1:59wire up a
- 2:00a bag of money in a bank so
- 2:02it explodes with dye.
- 2:05Oh, well, we invented a way to it's
- 2:07like, by the fifteenth show, you know, he's
- 2:10like showing Nikola Tesla around
- 2:12some new electric electronic thing he's invented.
- 2:15You know, like, yeah. I think I think
- 2:17the trope might be getting old.
- 2:20Just just
- 2:21Yeah. I think that, Hawaiian pizza was invented
- 2:24on the West Coast Of Canada. So, yeah,
- 2:25maybe everything in useful to society was invented
- 2:28here in Toronto.
- 2:30Yeah. It's that's a possibility.
- 2:32So we're talking about
- 2:34CLIs today, which command line interfaces.
- 2:38Now, you know, for those of you who
- 2:39are older in the networking world,
- 2:42that's what we had.
- 2:45And
- 2:47I'll I'll say this. It's an interesting point
- 2:49that people don't
- 2:50I don't think people understand very well or
- 2:53or comprehend or or,
- 2:55glom onto
- 2:57is that one of the big innovations
- 3:00of Cisco c of Cisco iOS software
- 3:03classic
- 3:04was
- 3:05the verb,
- 3:08the verb noun
- 3:11sort of grammar
- 3:13in the CLI.
- 3:14They did it very poorly in many ways.
- 3:17But before
- 3:18Cisco,
- 3:20CLI's were much more information dump
- 3:24and much less take action on this with
- 3:27that.
- 3:28And so I think that's one reason
- 3:31why the Cisco CLI in particular
- 3:33really took off
- 3:35and became something that people
- 3:38used.
- 3:42So I don't know if you have any
- 3:43thoughts on that before we
- 3:45Yeah. I mean, like, when you compare it
- 3:47to even systems that are still around, if
- 3:49you look at, like, the the lens shell
- 3:50or the bash shells, edge shell, anything like
- 3:52that,
- 3:53I still Google how to
- 3:55extract and compress a tar file today. It's
- 3:58not so intuitive. As I spoke to it,
- 4:00it's like it's like,
- 4:02compress this file with this compression would probably
- 4:06how it'd be done on Cisco CLI.
- 4:09But in that file, it's just a bunch
- 4:10of flags, Right? That add on. Right? And
- 4:13do I have the right flags? Now that
- 4:14I probably do the same file over and
- 4:16over. Yes. But if I have to change
- 4:17one of those flags, it's not intuitive at
- 4:18all for me. And it's very information dump
- 4:20when you look at that man file. Yeah.
- 4:23Exactly.
- 4:24The the things are not ordered
- 4:26in any kind of order or grouping,
- 4:30whereas with Cisco CLI, they are. And I
- 4:32think that's I think that was one of
- 4:34the big revolutions
- 4:35of the Cisco CLI.
- 4:38Tom, any thoughts on that before we carry
- 4:39on to the next little?
- 4:42No. I think the the structure of a
- 4:45CLI
- 4:46is pretty pretty critical. I mean, it's it's
- 4:48a it's a user interface. I think that's
- 4:49the thing we when we think of a
- 4:51user interface, I think often we think of,
- 4:53like a GUI, like something a web page
- 4:55you would click on. But the reality is
- 4:57a CLI is a user interface,
- 4:58and it's not a machine interface. And so
- 5:01it's, you know, it needs to be designed
- 5:03with user experience in mind. It needs to
- 5:04be something that the human brain would would
- 5:07find,
- 5:08as as natural,
- 5:10in order for it to be effective. It's
- 5:12not in in some ways, the design of
- 5:14the CLI
- 5:15is even more critical than the what we
- 5:17would call user experience on a web GUI,
- 5:20because there's the user experience is the only
- 5:23thing
- 5:24to that that is even that's the purpose
- 5:27of the CLI existing.
- 5:29Yeah. And I think a lot of the
- 5:30design differential between good CLI and bad CLI
- 5:34is that bad CLI
- 5:37always caters to the data structures
- 5:41and the the,
- 5:42underlying
- 5:44function calls.
- 5:47Whereas good CLI
- 5:49says, what is the user trying to get
- 5:51done?
- 5:52Right.
- 5:53Yeah. Exactly. I mean, you could see it
- 5:55in some CLI tools where, like, those new
- 5:57functions or new features to kind of leak
- 6:00into the CLI as, like, leaky abstractions. So
- 6:02they they put a new flag, right, for
- 6:04the new feature, or they can put the
- 6:06rework the CLI. There's no flow to it.
- 6:10Correct. And like I said, Cisco
- 6:12has messed up, in my opinion, the verb
- 6:15to noun interaction in many places,
- 6:18but they at least have the construction there
- 6:20to start with that they've tried to do
- 6:22something with.
- 6:24There are many annoying examples to me.
- 6:29IP routing, let's see. What was it?
- 6:33For turning on
- 6:35fast cache,
- 6:36I believe it was IP routing cache or
- 6:39something like
- 6:40that or IP cache. And then for SaaS,
- 6:43it SaaS, it was Cisco Express forwarding IP.
- 6:46And, like, yeah, it's
- 6:50why? Why do you do such things?
- 6:52But, anyway alright. So Mark has been doing
- 6:55a little bit of ad hoc research, perhaps,
- 6:59gathering impressions and communities. Why don't you tell
- 7:01us about that, Mark?
- 7:03Yeah. So, as I've been working more so
- 7:05in my day job, I've switched to working
- 7:07on more network automation
- 7:08and thinking about how systems should be utilized,
- 7:11how to get the value out of them,
- 7:12how to represent them to users.
- 7:15And one thing that was my hypothesis that
- 7:17the CLI is very important to network engineers
- 7:20and we should have a CLI
- 7:22represented in that system.
- 7:23But as I started speaking with some colleagues
- 7:26in my network automation space, they basically said
- 7:28the goal is to get rid of the
- 7:29CLI in certain senses. It's to represent that
- 7:32via
- 7:33GUIs and and other APIs. And the CLI
- 7:36should be kind of an afterthought. Right? But
- 7:38CLI should just exist on the systems as
- 7:40it is if we don't take it away
- 7:41altogether.
- 7:42So then I I set it the poll
- 7:44to multiple communities. One in the Packet Pusher
- 7:46Slack community, another in the Nanon mailing list,
- 7:48and another one in the network automation forum.
- 7:51And
- 7:52when I put that to the communities, I
- 7:53found that there was a little more consensus
- 7:55than I expected. People do like the CLI.
- 7:57It's just more about the trade offs as
- 7:59usual when you try to keep it around
- 8:02in its current form, as well as when
- 8:04you try to abstract away via GUI.
- 8:09I think the,
- 8:11the idea that we would that we would
- 8:13remove a CLI is interesting or that we
- 8:15would that we would not,
- 8:18let it advance with, features that get added
- 8:20to the underlying code. I think that's,
- 8:22that's very interesting. I'm not sure,
- 8:26Yeah. That would be interesting to see what
- 8:27people think we get out of that,
- 8:29other than, like,
- 8:31maybe some saving some development time in the
- 8:33product.
- 8:34But, like, the
- 8:35the idea that we wouldn't have a seal,
- 8:37I just there's there's too much
- 8:40too much that can go wrong. There's too
- 8:41many variables. These systems are so complex.
- 8:44How would how would you
- 8:47like, my experience with network automation is is
- 8:50finding patterns, finding repeatable things,
- 8:53that you then automate.
- 8:56You don't you don't
- 8:58the thing the things that are not repeatable
- 9:00patterns, you have to be able to deal
- 9:01with reality,
- 9:02without having mocked it up in a lab
- 9:04first. So the idea of no CLI is
- 9:07very interesting. Seems counter to my thinking.
- 9:10Yeah. I mean, I concur. I mean, I
- 9:11think it's all about the patterns. And when
- 9:13we think about
- 9:15we know it's really about patterns because there's
- 9:17those pipe include pipe match, you know, those
- 9:21looking and trying to parse out those patterns
- 9:23and, therefore, you try to abstract that away.
- 9:25It's more about what are those patterns and
- 9:27why the best way to get them out
- 9:29of the system. I guess maybe the problem
- 9:31also comes back that some of the things
- 9:33we can get from the CLI is looking
- 9:34at the system as a whole. Like you're
- 9:36reading TLVs from the ISAS,
- 9:39IGP.
- 9:39But when you look at some things that
- 9:41are like maybe local databases like interface stats
- 9:43or, you know, labels in the case of
- 9:46LDP and such like that, like, we maybe
- 9:48those things need to be
- 9:50stored in another system that could be read
- 9:52from a CLI interface is kind of the
- 9:54the thinking I've moved to towards now. But,
- 9:56yeah, people do like the CLI because it
- 9:58can run on the toaster. It has out
- 10:00of band access.
- 10:02It's easy to add new features into it,
- 10:04and it doesn't add a bunch of security
- 10:06vulnerabilities as well. By creating all these GUIs,
- 10:09it's harder to run it on maybe two
- 10:11different browser engines that exist in the world
- 10:13and Java on the system just to be
- 10:15able to get the same data from what
- 10:17you can get from a a serial interface.
- 10:20Do you think it's ever possible
- 10:23well well, first of all, I should back
- 10:25up. So you polled various communities. What was
- 10:28the result?
- 10:29I think the the consensus that I wasn't
- 10:32expecting because I left it open. Like, do
- 10:34you love the CLI? Do you hate the
- 10:36CLI? And do you think we could ever
- 10:37get to a world or would you argue
- 10:39already enjoy a world where you never see
- 10:41or touch the CLI
- 10:43in a network engineering sense. And the consensus
- 10:46was nobody imagined a world that the CLI
- 10:49would go away. It's always for it's what
- 10:51Tom said, those corner cases. All, like, the
- 10:54little features of what you're looking for, maybe
- 10:56they don't exist in the CLI. Whether it's
- 10:57attack command or not, it's typically there. It's
- 11:01probably the most complete representation
- 11:03of the underlying function calls, the API, and
- 11:06etcetera.
- 11:08Well, and it's always I mean, the CLI
- 11:10is always going to be there because there
- 11:12are developers working on these systems that need
- 11:14to debug them. Like, you're not gonna convince
- 11:16any vendor to get rid of the CLI.
- 11:18I don't like, why would you why like,
- 11:21that's their debugging tool. Right? It seems,
- 11:24I don't know.
- 11:25So so one thing I think that we
- 11:27run into, we don't maybe don't put it
- 11:29in these terms, is richness.
- 11:31Even on the output side,
- 11:34I think that the CLI output
- 11:36tends to be richer
- 11:38than any GUI output you can ever come
- 11:40up with. I I Yeah. I mean
- 11:43Yeah. I mean, there are there are times
- 11:44where you can do a graph. Right? And
- 11:46that's gonna be richer than what you can
- 11:48display in a strict CLI.
- 11:51It's not a lot.
- 11:53Most of the time, the CLI is gonna
- 11:55be richer.
- 11:57Yeah. And then the richness, the price that
- 11:59you pay from the development standpoint of the
- 12:01development of the product, the price that you
- 12:02pay for delivering that richness is much lower
- 12:04in the CLI. You don't have to do
- 12:06JavaScript and Ajax, blah blah blah, and all
- 12:08this crap. Like, if you want to display
- 12:10a rich you wanna dump a data structure,
- 12:12it's pretty easy to do that, and it's
- 12:14pretty easy to build it so that it
- 12:15can do that in the CLI.
- 12:17And and humans can as long as the
- 12:19output format in the CLI is something that
- 12:22makes sense that, again, going back to our
- 12:23UI design kind of
- 12:25conversation,
- 12:26as long as it's done that way, you
- 12:28can get a lot more bang for your
- 12:29buck in terms of development of the product.
- 12:33Yeah. I mean, like, it's doing front end
- 12:35design for for websites is is quite a
- 12:37craft. And to add that complexity on top
- 12:40of the data that we're trying to represent,
- 12:41it's very noisy. Like, I don't think there's
- 12:43any comparison between control f or, like, find
- 12:46in page on a website versus, like, the
- 12:49complex
- 12:50GREP and, regex patterns we can do in
- 12:52the CLI. Like, we can really take the
- 12:54noise out of what is a large expression
- 12:57and the richness in that verbose command or
- 12:59extensive command or whatever it is based on
- 13:01the CLI or DSL you're referring to.
- 13:05So another
- 13:06I think I think part of that ranges
- 13:08too though is not just on the receiving
- 13:11outbound side but also on the inbound side.
- 13:13Being able to configure things.
- 13:16The first time I saw Cisco Cisco's iOS
- 13:18CLI
- 13:19in a web page, I was
- 13:21really underwhelmed,
- 13:24really underwhelmed.
- 13:26Like, it was far harder to configure things
- 13:28in that environment than it was just to
- 13:30use a CLI.
- 13:31So I think that there's a lot of
- 13:33richness again that you that you lose,
- 13:36going from one to the other, from going
- 13:38from a CLI to a g GUI or
- 13:40whatever it happens to be. So, I mean,
- 13:42I guess
- 13:44that's the biggest thing to me. Now one
- 13:46thing, Mark, is you said you asked three
- 13:47different communities. Was there a difference
- 13:50in the results?
- 13:51Yeah. I I would say that there was.
- 13:53I mean, the first response,
- 13:56and I'll never forget it from the Nanog
- 13:56mailing list was you'll pry it from my
- 13:58cold dead hands. Right? That's kind of what
- 14:00I expected,
- 14:01from that community.
- 14:03But
- 14:04what came after was how each community kind
- 14:07of differentiated
- 14:08what it is that they love about the
- 14:09CLI or what they would like to replicate
- 14:11in another system from the CLI.
- 14:15In in the network automation forum, it was
- 14:18really about getting those corner cases, getting those
- 14:20patterns represented, which is a hard fact to
- 14:23do to get that 100% completion.
- 14:25In the
- 14:28in the, NANOG mailing list is more about
- 14:30the reliability
- 14:31of the CLI, the the familiarity, the intuitiveness
- 14:34for a lot of these systems that people
- 14:36grew up on.
- 14:37And in the packet pushers, it was a
- 14:39mix of both. Right? So I guess they're
- 14:41more of the hybrid environment. We have a
- 14:42little bit of this side and a little
- 14:43bit of that side.
- 14:45So there was that difference, but
- 14:48it wasn't a huge difference. They both considered,
- 14:50like, the the trade offs, the advantages.
- 14:52Right? They just disagree on what what is
- 14:54the most important one. So they all generally
- 14:56agreed that they said, basically, you'll get rid
- 15:00of it when you pry it from my
- 15:01gold cold dead hands.
- 15:03But they were for different reasons. Some people
- 15:06were very strongly about,
- 15:09like you said, like,
- 15:11speed or whatever, which by the way speed
- 15:13is another big one to me. CLIs are
- 15:15a lot always a lot faster. I can't
- 15:18imagine
- 15:19ever having a GUI that's faster than a
- 15:21CLI.
- 15:22Now I say that, but, you know, now
- 15:24when you talk about writing,
- 15:26like, just writing,
- 15:28people go, oh, well, I would rather use
- 15:30markup or I would rather use something else.
- 15:32I'd rather not
- 15:35use word or something that is menu driven.
- 15:39And I actually find it a little bit
- 15:41the opposite. And I'll tell you why, because
- 15:44I
- 15:45don't want to memorize
- 15:47yet another markup language
- 15:51for writing Word documents or just generic documents.
- 15:56And it's very easy when you start with
- 15:58one to end up needing to memorize,
- 16:01oh, there's markup over here, but then there's
- 16:03the specialized version of markup over there. And,
- 16:05oh, by the way, there's this XML thing
- 16:07over here that you should use. Oh, and
- 16:08there's a different one over there. It's like
- 16:10it's so easy to write CLIs
- 16:14that we have
- 16:15way more of them.
- 16:17And so there's some
- 16:20counter to that in my mind where I'm
- 16:22doing things where they have a lot of
- 16:24text,
- 16:25and I don't have a lot of rich
- 16:27formatting
- 16:28or a lot of rich data
- 16:30where this where the GUI actually makes more
- 16:32sense to me.
- 16:34It's a I think you hit you hit
- 16:36a really interesting point.
- 16:37What I didn't ask the community and I
- 16:39didn't do a follow-up on, which I would
- 16:40love to do at some time, is that
- 16:42everybody says you love the CLI and you
- 16:45hate the GUI. Some of them say maybe
- 16:46I prefer a GUI for certain things, and
- 16:48I hate the CLI.
- 16:49But if you go deeper and think this
- 16:52back to, like, people who use text editors
- 16:54for code, maybe everybody uses Vim and everybody
- 16:56use Emacs, both agree that bloated IDs suck
- 16:59in their opinion. But ask them to get
- 17:01along in the same room. It's like if
- 17:03they if they eliminated
- 17:05that enemy, do they agree on what the
- 17:07structure and pattern should be within their text
- 17:10editors, their terminal based text editors? No. They
- 17:12would say the patterns aren't the same. So
- 17:14the people who talk about these domain specific
- 17:16languages or CLIs, they might actually
- 17:19infight when you get to what is the
- 17:20best way to represent these patterns. Like, people
- 17:23who are really into Juniper syntax, people who
- 17:25are really into, I guess, Cumulus syntax in
- 17:27the past, and,
- 17:29maybe CLI classic iOS versus IOS XR. I'm
- 17:32very much in the iOS XR camp. I
- 17:34like the the patterns and expressions that that
- 17:36gives for me.
- 17:37So it's it's that. So, yes, it's so
- 17:40people basically say, I just want similar patterns.
- 17:44And for me, I agree with you. I
- 17:45think that CLI
- 17:47is my way of exploring the patterns
- 17:50and the system, and it's I find it's
- 17:51intuitive. I can learn a lot about the
- 17:53system
- 17:54quickly on the CLI, especially during an incident.
- 17:57And then maybe I go to something like
- 17:59the API
- 18:00for
- 18:01the final product later on, like and that
- 18:03would be equivalent to, like, LaTeX. I write
- 18:05the document or the idea and the drafts
- 18:08in plain text. And I would go to,
- 18:09like, something for typesetting
- 18:11or formatting
- 18:12later after the exploratory portion of the writing
- 18:15is done. Yeah. So one way I would
- 18:17express that is to me,
- 18:20is that if I'm in an information rich
- 18:22environment,
- 18:23but I understand
- 18:26how the system works,
- 18:30I might not know how it's implemented.
- 18:32This implementation
- 18:34of that software works, but I understand how
- 18:36the software itself works.
- 18:41And, again, very inter information rich environment.
- 18:44I find CLIs are easier to explore,
- 18:47to traverse the space, and to query and
- 18:50ask questions
- 18:51to find what I'm looking for. Whereas GUIs
- 18:55tend to be
- 18:56it's in that menu someplace
- 18:59because somebody thought that's where it should be,
- 19:02and it's hard to discover.
- 19:03So discovery in information mission environment is
- 19:07easier with a CLI. Now, you know, go
- 19:09back to forward processing and coding.
- 19:11I mean, in reality,
- 19:13a lot of the argument I think gets
- 19:15so heated specifically because and people are gonna,
- 19:17like,
- 19:18be mad at me for saying this, but
- 19:20because it's not an is information rich of
- 19:23an environment
- 19:25in many ways.
- 19:27Unless you've built
- 19:29the code
- 19:30syntax, the language syntax into
- 19:33the IDE
- 19:35or into the,
- 19:37into the the the text editor.
- 19:41There's not, I mean, there's not a lot
- 19:42of richness
- 19:43in in those types of things. And so
- 19:46most of the richness comes from building those
- 19:48things into
- 19:50the building that the constructs into
- 19:53the CLI itself,
- 19:55or into the programming environment, the IDE or
- 19:57whatever it is you're using,
- 19:58and then finding clever ways to call that
- 20:01syntax up more quickly
- 20:04than you as a coder remembering it
- 20:07and putting it in.
- 20:09And so, you know,
- 20:11VIM does some things very quickly.
- 20:14Emacs does other things very quickly.
- 20:18A lot of the quickness is in search
- 20:19and replace.
- 20:21And in mass text moves. I've gotta move
- 20:24every I created a new function, and I've
- 20:26gotta grab everything and move it to the
- 20:27right
- 20:28by one tab or by four spaces or
- 20:31whatever your style is.
- 20:34Those are very specialized operations.
- 20:37So I don't know. I mean, it just
- 20:39seems to me again, a lot of this
- 20:40comes down to the richness of
- 20:43the
- 20:45the the implementations,
- 20:46the protocols,
- 20:47the
- 20:48the datasets that you're working with. Yeah. If
- 20:52you come back to ISAS, I mean, I
- 20:53agree with you. I could go to a
- 20:54new
- 20:55CLI.
- 20:56And as long as I know
- 20:58what pattern or TLV I'm looking for,
- 21:01Doesn't matter how large how large in scale
- 21:04it is, how you've kind of designed a
- 21:05little bit here, as long as I know
- 21:06where to find
- 21:07that particular element of the network, like who
- 21:09advertises prefix to me or this TLV with
- 21:12a prefix attached to it. I can look
- 21:14for that.
- 21:16Whereas in a GUI, it's it's kind of
- 21:18a predetermined query. Right? It's the query language
- 21:20kind of the art of the query language
- 21:22goes away. I might be able to search
- 21:24that. I might not be able to search
- 21:25that. But in the CLI, I can define
- 21:28that query to match what I know of
- 21:30the system or how the system
- 21:33should be implemented.
- 21:34So I'm curious, Mark, what is what is
- 21:37your favorite CLI, if you don't mind saying
- 21:40which which vendor or which experience would you
- 21:42say is the one that you're like, yeah.
- 21:43If they could all be like this. You
- 21:44mentioned iOSXR before.
- 21:47What what do you think is your your
- 21:48favorite? I think yeah. It
- 21:51it really depends on, I guess, like,
- 21:54the environments I've worked in in the past.
- 21:55But I think my favorite, my little favorite
- 21:58pet is iOSXR.
- 22:00I'm most used to its patterns. I've worked
- 22:02with it over many years.
- 22:04I'm most familiar with it. Classic iOS,
- 22:07I like some of the simplicity from it.
- 22:09And and with the Juno CLI, that's kind
- 22:12of transformed over the years.
- 22:14I like some of the verbose elements from
- 22:15that. Right? Like, when I type extensive, I
- 22:17know what I expect from there. If I
- 22:19type terse, I know what I expect from
- 22:21there. It depends on what operation I'm doing
- 22:23at what time. But I was six are
- 22:25in the argument of pets versus cattle. It's
- 22:27my favorite pet in that regard.
- 22:30And, actually, I think that leads to another
- 22:33thing that I think comes up in CLI
- 22:34discussions,
- 22:35and programmability.
- 22:37I I one model that that I think
- 22:40is is a great way to approach this
- 22:41is the the CLI actually doesn't have to
- 22:44be
- 22:45so you you're you're gonna have to have
- 22:46some sort of programmatic interface. I mean, that's
- 22:48pretty obvious. And and, really, the CLI should
- 22:51use the same should use the same APIs
- 22:53that everybody else is using to program the
- 22:55box. Right? Like, ideally, you'd have a CLI
- 22:58that is just a client application,
- 23:01and
- 23:02the,
- 23:03you know, the programmatic inter to the to
- 23:05the regular programmatic interface. One of the things
- 23:07that drives me crazy the most is when
- 23:09there's not parity
- 23:10between either for monitoring or for configuration between
- 23:13a CLI and what you get in out
- 23:15of the API or the programmatic interface.
- 23:17Yeah. I I concur completely. I mean, that
- 23:19actually came up in the NANOG mailing list,
- 23:21right, about how it's
- 23:23maybe representing the lower layers. And in some
- 23:25environments,
- 23:27there is a pretty good parity. And in
- 23:28some environments, it's very apparent that there isn't.
- 23:31Yeah. So I don't wanna name any vendor
- 23:33specifically, but you can go read in the
- 23:34mail list and see which vendors are being
- 23:36mentioned on the good side and bad side.
- 23:38Some have a back end database everybody draws
- 23:40from, some do not.
- 23:42And some and some are in the middle,
- 23:44honestly.
- 23:44Let's be honest. I mean, if our routing,
- 23:46for instance, some of it has been
- 23:49yangified as we might say, and other parts
- 23:51have not been.
- 23:53And so it's inconsistent
- 23:54across the different protocols,
- 23:57which is maddening as an operator. But, you
- 23:59know, it's it's a coding problem. Somebody's gotta
- 24:02go code it.
- 24:04And, you know,
- 24:05it's up to source. Somebody's gotta go code
- 24:07it.
- 24:08Yeah. So
- 24:10I don't really have a lot of other
- 24:11questions on this unless you have another interesting
- 24:14aspect mark to the
- 24:15survey that you did. Do you have any
- 24:17other Well, I
- 24:19think, like, if if I could bring it
- 24:21back to anything at all is that, like,
- 24:23when you consider
- 24:24what Tom just said is that maybe a
- 24:26hybrid approach is the way to look at
- 24:28this, that the CLI will always be there
- 24:30and the APIs will continue to be developed
- 24:32based on certain patterns. These are still developers
- 24:34delivering to their customers at the end of
- 24:36the day. And we need to consider the
- 24:38fact that we might have to,
- 24:40I guess, some people would say, abuse the
- 24:42CLI for certain purposes if we're doing automation
- 24:44and allow it to be a human interface,
- 24:47you know, a user interface as Tom said
- 24:48originally.
- 24:50But going forward, we still have to remind
- 24:52ourselves that
- 24:53every time you look at systems,
- 24:56I can't remember the first name, but a
- 24:57man named Trist back in the nineteen fifties
- 24:59was studying British coal mines. And he came
- 25:01up with the concept of socio technical systems,
- 25:03which has come forward and forward and forward
- 25:05in many domains, DevOps, platform engineering, whatever. But
- 25:09the the consensus was that no matter what
- 25:11the system is, when you bring automation into
- 25:14it, it's always about the interaction between humans
- 25:17and the machines. Not just the machines,
- 25:19not just the humans.
- 25:21Right? So, there's this little comic once,
- 25:24little comic that's really popular on the website
- 25:26or, XKCD,
- 25:28x k c d seven one seven eight
- 25:30two. It's got entitled team chat and it
- 25:32was talking about how back in the day,
- 25:34everyone used to use IRC. But then slowly,
- 25:36people started to move to Skype and that
- 25:38most of the team was still using IRC.
- 25:40Then almost everybody moved to Slack, but a
- 25:42few people had the bridge via IRC to
- 25:44get in. And it makes this joke that
- 25:46far in the future,
- 25:47most universe will reach
- 25:49complete singularity, but there'll be that one person
- 25:51who still has the IRC bridge to connect
- 25:53in. He says, I have it just the
- 25:55way I like. Right? Yeah. So it's the
- 25:57same thing as, like, having, like, secure CRT
- 25:59scripts
- 26:00to really manipulate that iOSXR
- 26:02system at 2AM and fix it faster than
- 26:05anyone else could trying to reconcile it via,
- 26:08you know, a source of truth, a modeling
- 26:10tool or anything like that. Right? Trying to
- 26:12say, like, infrastructure as code, that person will
- 26:15triage circles around you because they understand the
- 26:17patterns
- 26:18of that system and it works best for
- 26:20them.
- 26:21So,
- 26:22in this whole argument of pets versus cattle
- 26:25that I've kind of brought up recently, I
- 26:26think that the CLI
- 26:28can be advanced to become more of a
- 26:30cattle dog. Right? It's like kind of a
- 26:33pet for us. You can pet it, but
- 26:35it's still herding
- 26:37the cattle that is in the system, which
- 26:39are prefixes,
- 26:40interfaces,
- 26:42all that data richness, which you can still
- 26:44feed it ice cream. You can pet it.
- 26:46You can name it. It's familiar, and it's
- 26:49reliable in that sense. You can bring it
- 26:51at home at night.
- 26:53So I think that's kind of the advancement
- 26:54that I'm seeing in in the space. People
- 26:57are starting to understand that you can't go
- 26:59fully on the technical side.
- 27:02Can't go fully on the socio side. Right?
- 27:04And and hinder advancement, you're gonna have to
- 27:06find that balance.
- 27:09My question is, does the animal moo or
- 27:11does it bark?
- 27:14Maybe both.
- 27:15Yeah. Maybe a little bit of both. Right?
- 27:17You think about the cattle, it's like, should
- 27:19we tend to each individual prefix as if
- 27:22it's, like, the individual needs of the cattle
- 27:24or should we have sensors
- 27:25for problems around these things? Right? And look
- 27:28at those systems.
- 27:29But when you're moving these prefixes around, maybe
- 27:32the best way to do that is with
- 27:33the cattle dog. And that's the CLI, in
- 27:36my opinion. Cool. Awesome. I think that's a
- 27:38good a good analogy.
- 27:39So, Tom, anything else?
- 27:42Nope. Nope. Okay. Alright. Mark, where can people
- 27:45find you? Reach you? Do you blog? Do
- 27:48you un
- 27:50unblog? Or I guess
- 27:53I when Tom gave up his neglected blog,
- 27:56I said, this won't do. I need to
- 27:58have a neglected blog. So I made I
- 27:59got one out there for the community. So
- 28:01you can find me at zeal networks dot
- 28:03c a. But if you actually wanna see
- 28:05content, then you can reach me on LinkedIn
- 28:08or in the Packet Pushers community.
- 28:10And I'll also be at AutoCon three, here
- 28:13in Prague in a couple weeks. Awesome.
- 28:15Alright. Tom, where can people reach you?
- 28:19I'll be on LinkedIn inspiring other people to
- 28:21build new electric plugs. That's awesome.
- 28:23Alright. And I'm a slight. You can always
- 28:25find me here at the hedge of rule
- 28:26eleven dot tech
- 28:27on LinkedIn occasionally on x, Twitter, whatever.
- 28:31I'm telling you, if you're trying to find
- 28:33me, you'll find me. I'm really, really hard
- 28:35to find.
- 28:36We know that your attention is important. We
- 28:38live in an attention driven economy.
- 28:40By the way, Paul, thanks, Mark. What am
- 28:43I talking about? Mark, thanks for coming on.
- 28:45I'm like wrapped around the brain today. My
- 28:47brain is like completely messed up. Anyway, Mark,
- 28:50thanks for coming on and talking about this,
- 28:51an interesting topic.
- 28:53And for our listeners,
- 28:54again, we know we live in an attention
- 28:56driven economy,
- 28:57and we know that your time and attention
- 29:00are very important. So we thank you for
- 29:02listening all the way to the bitter end
- 29:04of this
- 29:05episode of the hedge, and we will catch
- 29:07you next time.