Latest / CyberSecurity Summary / Network Programmability with YANG: The Structure of Network Automation with YANG, NETCONF, RESTCONF, and gNMI
Transcript
- 0:00Speaker 1: Welcome to the deep dive. Looks like someone is ready
- 0:03Speaker 1: to tackle network programmability head on.
- 0:06Speaker 2: You could see that.
- 0:07Speaker 1: We've got excerpts from a book on yang, a few
- 0:10Speaker 1: white papers, even some RFCs. Someone's been doing their homework.
- 0:15Speaker 2: It seems like managing the network is becoming a bit
- 0:17Speaker 2: of a struggle, like hurting cats. Maybe more like.
- 0:20Speaker 1: Hurting cats with a spoon from the sound of it. Okay,
- 0:23Speaker 1: but hey, maybe we can help with that, expert speaker,
- 0:26Speaker 1: what do you think?
- 0:27Speaker 2: Absolutely, I think it's safe to say the old ways
- 0:30Speaker 2: of managing networks, well, they just aren't cutting it anymore.
- 0:34Speaker 1: You're definitely not alone there.
- 0:35Speaker 2: I think a lot of folks are feeling that pain.
- 0:37Speaker 1: Yeah, that makes sense. I've heard whispers that the command
- 0:40Speaker 1: line interface, the CLI, is kind of reaching its limits.
- 0:44Speaker 2: You know. It's like it's like trying to write a
- 0:45Speaker 2: novel on a typewriter.
- 0:46Speaker 1: It got the job done back then, it did, Yeah.
- 0:49Speaker 2: But these days you need something, I don't know, a
- 0:52Speaker 2: little more powerful.
- 0:53Speaker 1: Yeah, you need a word processor or something like that.
- 0:56Speaker 1: But what's so limiting about the CLI these days, especially
- 0:59Speaker 1: with networks becoming so complex.
- 1:01Speaker 2: Well, for one, modern networks are just massive it's gotten
- 1:06Speaker 2: way beyond what humans can reasonably manage, right I think
- 1:09Speaker 2: about it. Businesses need to be able to like deploy
- 1:12Speaker 2: new services instantly in seconds, not months, and that kind
- 1:17Speaker 2: of agility is just impossible with like manual CLI commands.
- 1:22Speaker 1: It's yeah, like you're stuck typing in commands one by one.
- 1:26Speaker 2: By one, hoping you don't, you know, make a typo
- 1:29Speaker 2: and crash the whole system.
- 1:30Speaker 1: Yeah, it's it's slow, it's prone to errors. It's not
- 1:33Speaker 1: built for automation.
- 1:34Speaker 2: Definitely not.
- 1:35Speaker 1: And then imagine being afraid to even upgrade your devices
- 1:39Speaker 1: because you think, oh, my custom scripts are going to break, right,
- 1:42Speaker 1: you know that's the reality for a lot of people.
- 1:45Speaker 2: Yeah, that's a scary thought.
- 1:46Speaker 1: They're clinging to CLI based management. Clies just weren't built
- 1:50Speaker 1: to talk to machines. And if we want automation, we
- 1:53Speaker 1: need standards, we need programmable interfaces.
- 1:55Speaker 2: Okay, I'm sensing a butt coming.
- 1:58Speaker 1: Oh that's where Yang comes in. Yang Young. I knew it. Okay.
- 2:02Speaker 1: So everyone's saying Yang is like the magic solution to
- 2:05Speaker 1: all our CLI woes, but like, what is it really
- 2:09Speaker 1: and how does it actually solve these problems?
- 2:12Speaker 2: So Yang stands for yet another next generation. It's kind
- 2:16Speaker 2: of a funny name, yeah, but basically it's a language
- 2:19Speaker 2: for describing network devices and services like a blueprint.
- 2:23Speaker 1: You know, so instead of having a jumble of different
- 2:25Speaker 1: commands for every vendor, yeah, exactly, Like we're giving all
- 2:28Speaker 1: our devices one language they can understand exactly.
- 2:31Speaker 2: Yang models are like contracts between your devices and applications.
- 2:35Speaker 2: Make sure everyone's on the same page.
- 2:37Speaker 1: Okay, that's pretty neat. But if YANG is so great,
- 2:40Speaker 1: how come everyone isn't already using it? Any downsides? Or
- 2:43Speaker 1: is it just you know, too good to be true.
- 2:45Speaker 2: Well, like anything new, there is a learning curve. Yang
- 2:48Speaker 2: is a pretty you know, ro best language.
- 2:50Speaker 1: So it's like learning a new programming language. You need
- 2:52Speaker 1: to put in the time, but then you can do
- 2:54Speaker 1: all sorts of amazing things exactly. Okay, So let's say
- 2:57Speaker 1: I'm sold on this YANG thing. Where do I even begin?
- 3:00Speaker 1: How does this work in practice?
- 3:02Speaker 2: Okay? So let's use this book soon an example from
- 3:05Speaker 2: the book you sent. Imagine like a network connecting bookstores
- 3:09Speaker 2: and publishers and customers. Okay, you can use Yang to
- 3:12Speaker 2: model everything, inventory, orders, delivery routes, all of it.
- 3:17Speaker 1: So I can actually define like this is a bookstore,
- 3:19Speaker 1: it has these capabilities, and like it needs to connect
- 3:23Speaker 1: to the publisher's network this way.
- 3:24Speaker 2: Yeah, exactly, you're not just defining data, you're defining relationships
- 3:28Speaker 2: between all the parts of your network.
- 3:30Speaker 1: Okay, that's pretty cool. But Yang itself is just a language, right,
- 3:33Speaker 1: It's not actually like sending commands to my routers and switches.
- 3:37Speaker 1: How does that part work?
- 3:38Speaker 2: Right? Yang sets the rules, but we need something to
- 3:42Speaker 2: make it happen. That's where these protocols come in, like
- 3:44Speaker 2: net cof and rest com.
- 3:45Speaker 1: Okay, so Yang is like the blueprint, and then netcof
- 3:49Speaker 1: and restcom are like the construction workers who actually build
- 3:52Speaker 1: the thing. They handle the communication with the devices.
- 3:55Speaker 2: That's a great way to put it, and each one
- 3:57Speaker 2: has its own strengths and weaknesses. You know. Net con
- 4:00Speaker 2: it's very robust, great for big changes where you absolutely
- 4:04Speaker 2: cannot afford an error.
- 4:06Speaker 1: That sounds like a lifesaver when you're dealing with a
- 4:08Speaker 1: complex network. One small mistake could cause chaos.
- 4:12Speaker 2: Exactly. And then you've got rest con. Okay, rest coon
- 4:15Speaker 2: if is more web friendly, good for integrating with modern
- 4:18Speaker 2: web services, so I.
- 4:20Speaker 1: Could manage network devices from a web browser, or even
- 4:23Speaker 1: tie them into my company's existing web application.
- 4:26Speaker 2: Exactly opens up a lot of possibilities.
- 4:28Speaker 1: The sources also mentioned something called GNMI.
- 4:31Speaker 2: What's that about, Oh, GNMI that stands for GRPFE Network
- 4:34Speaker 2: Management Interface. It's newer known for its speed and efficiency. Okay,
- 4:39Speaker 2: particularly good for things like telemetry.
- 4:41Speaker 1: Telemetry. Right, Yeah, that's about getting real time insights from
- 4:45Speaker 1: the network, isn't it. Instead of constantly asking devices for updates,
- 4:48Speaker 1: it's like a live stream of.
- 4:50Speaker 2: Data precisely, no more waiting around. You just get those
- 4:52Speaker 2: insights instantly.
- 4:53Speaker 1: This makes a lot of sense. But how does all
- 4:55Speaker 1: of this tie back into YANG? How do these protocols
- 4:59Speaker 1: actually work work together?
- 5:01Speaker 2: That is a fantastic question and one that we will
- 5:03Speaker 2: definitely be unpacking in the next part of our deep dive.
- 5:06Speaker 1: Sounds good, but.
- 5:07Speaker 2: For now, I want to leave you with this thought.
- 5:09Speaker 1: Okay, YANG isn't just about automating network management. It's about
- 5:13Speaker 1: laying the foundation for intelligent networks, networks that can adapt
- 5:18Speaker 1: and give you real time insights.
- 5:20Speaker 2: That's pretty mind blowing. We've gone from the limitations of
- 5:22Speaker 2: the CLI to this whole new world of what is
- 5:25Speaker 2: it network programmability, all powered by Yang in these different
- 5:29Speaker 2: protocols exactly. But before we get lost in all the
- 5:32Speaker 2: technical details, I want to take a step back. Why
- 5:33Speaker 2: should all of this matter to our listeners? What's the
- 5:36Speaker 2: big takeaway here? Welcome back? So are you ready to
- 5:39Speaker 2: see how all this Yang stuff actually works in practice?
- 5:42Speaker 2: I am.
- 5:43Speaker 1: Let's get down to the nitty gritty. How does Yang
- 5:46Speaker 1: actually help me, you know, manage my network? And particularly
- 5:49Speaker 1: thinking about things like setting up a secure VPN connection
- 5:54Speaker 1: between like multiple sites. That always feels like a major headache.
- 5:57Speaker 2: Oh, I can definitely see that being a pain point.
- 5:59Speaker 2: In the old CLI centric world. That would mean logging
- 6:02Speaker 2: into every single device, typing in commands, hoping you don't
- 6:05Speaker 2: make a typo. It's a recipe for late night's troubleshooting.
- 6:10Speaker 1: Tell me about it, and then if you need to
- 6:12Speaker 1: make a change, you got to go through that whole
- 6:14Speaker 1: process again on every single device exactly.
- 6:18Speaker 2: And that's where YANG can make a world of difference.
- 6:20Speaker 2: Instead of manually configuring everything, you define a YANG model
- 6:24Speaker 2: that captures your VPN service, IP addresses, encryption, authentication methods,
- 6:30Speaker 2: all the important stuff.
- 6:31Speaker 1: So it's like a blueprint for my VPN, but in
- 6:34Speaker 1: code exactly.
- 6:36Speaker 2: And then remember those protocols we talked about metconf and
- 6:38Speaker 2: rest CONC. They take that YANG model and translate it
- 6:41Speaker 2: into device specific configurations.
- 6:44Speaker 1: So instead of me typing in commands on each device,
- 6:46Speaker 1: net con anofhores CONC does it for me.
- 6:49Speaker 2: Exactly, And you can use that same YANG model for
- 6:51Speaker 2: all sorts of different devices, regardless of the vendor.
- 6:54Speaker 1: So I don't need to learn a different set of
- 6:56Speaker 1: commands for each brand of router or sweat.
- 6:59Speaker 2: Nope. That's the beauty of YANG. It eliminates the need
- 7:03Speaker 2: for vendor specific expertise.
- 7:05Speaker 1: That's a huge time saver for sure. Okay, but what
- 7:08Speaker 1: about monitoring. Once my VPN is set up, how do
- 7:10Speaker 1: I know it's actually working?
- 7:11Speaker 2: Well, remember telemetry. You can define YANG models for that too.
- 7:15Speaker 2: You can get real time insights into the performance of
- 7:17Speaker 2: your VPN.
- 7:18Speaker 1: So instead of waiting for things to break, I can
- 7:20Speaker 1: actually see how things are performing and fix problems before
- 7:23Speaker 1: they even happen exactly.
- 7:25Speaker 2: You can see bottlenecks, security issues, anything that might be
- 7:28Speaker 2: affecting your VPN. It's all about being proactive.
- 7:31Speaker 1: Okay. So that's for managing individual services like my VPN,
- 7:35Speaker 1: But what about more complex things like, I don't know,
- 7:38Speaker 1: managing a bunch of different network services across multiple clouds.
- 7:42Speaker 1: Can Yang handle that?
- 7:44Speaker 2: That's where Yang really shines. It allows you to go
- 7:47Speaker 2: beyond managing individual devices and actually orchestrate entire network services.
- 7:52Speaker 1: So it's like, I don't know, like a conductor leading
- 7:54Speaker 1: an orchestra, but instead of instruments, it's all these different
- 7:57Speaker 1: network services exactly.
- 7:59Speaker 2: You define the relationships between those services, their dependencies, and
- 8:03Speaker 2: Yang takes care of the rest. It's really about creating
- 8:06Speaker 2: a symphony of network services.
- 8:07Speaker 1: But you mentioned earlier that Yang is a pretty complex language.
- 8:10Speaker 1: How do I even get started with this? Is this
- 8:12Speaker 1: like years of training.
- 8:14Speaker 2: You don't need to become a Yang expert overnight. Start
- 8:17Speaker 2: with the basics. Containers, lists, leafs. Those are the building
- 8:21Speaker 2: blocks of Yang.
- 8:22Speaker 1: Okay, so those are the basics. But I'm guessing there's
- 8:24Speaker 1: a lot more to it than just that, right.
- 8:26Speaker 2: Oh yeah, there's a lot more things like augmentations and deviations.
- 8:29Speaker 1: Augmentations and deviations, what are those?
- 8:32Speaker 2: Think of augmentations Like adding an extension to your house,
- 8:35Speaker 2: You're expanding its capabilities without changing the core structure. With Yang,
- 8:40Speaker 2: augmentations let you add new stuff to existing models without
- 8:43Speaker 2: changing the original and deviations let you tweak a YANG
- 8:47Speaker 2: model for like specific.
- 8:49Speaker 1: Devices, So it's like I can customize YANG to fit
- 8:52Speaker 1: my needs.
- 8:52Speaker 2: Exactly, and that's really important for building you know, flexible
- 8:56Speaker 2: and scalable solutions, and you don't have to figure all
- 8:58Speaker 2: of this out on your own. There are tools out
- 9:00Speaker 2: there to help you, like paying libbyaning wide DK.
- 9:03Speaker 1: So these tools they're like my power tools for building
- 9:06Speaker 1: and managing my network precisely.
- 9:08Speaker 2: They take all the complexity of YANG and make it
- 9:10Speaker 2: actually usable.
- 9:12Speaker 1: Okay, but with so many tools out there, it's easy
- 9:14Speaker 1: to get overwhelmed. Where do I even begin?
- 9:17Speaker 2: Start with what you need and build your toolkit as
- 9:20Speaker 2: you go. The good news is that the YANG community
- 9:22Speaker 2: is super helpful. Tons of resources online. People are always
- 9:26Speaker 2: willing to lend a hand.
- 9:27Speaker 1: That's reassuring. It's less scary when you know there's a
- 9:30Speaker 1: community to support you. But before we go too deep
- 9:33Speaker 1: into the weeds, I want to bring it back to
- 9:34Speaker 1: the big picture. All this talk about YANG is great,
- 9:38Speaker 1: but why should businesses care? What's the real world impact?
- 9:42Speaker 2: Well, at its core, network programmability is all about making
- 9:46Speaker 2: businesses more agile, more efficient, more innovative.
- 9:50Speaker 1: So it's not just about automating tasks, it's about changing
- 9:53Speaker 1: how businesses operate exactly.
- 9:55Speaker 2: Businesses can save money, they can deploy news services faster,
- 9:58Speaker 2: they can improve network really ability. It's really a game changer.
- 10:02Speaker 1: Those are some pretty compelling benefits. So network programmability is
- 10:05Speaker 1: kind of like essential for digital transformation.
- 10:07Speaker 2: It is businesses that don't adapt are going to fall behind.
- 10:10Speaker 1: Okay, I'm convinced YANG sounds like a must have for
- 10:13Speaker 1: any business that relies on its network. But let's be real,
- 10:16Speaker 1: it can't all be smooth sailing, right, Yeah. What are
- 10:19Speaker 1: some of the challenges businesses might face along the way.
- 10:22Speaker 2: Of course, implementing any new technology has its challenges.
- 10:26Speaker 1: Like what what should businesses be prepared for?
- 10:29Speaker 2: One common challenge is finding skilled people. Yang experts are
- 10:33Speaker 2: in high demand, so finding and keeping them can be tough.
- 10:37Speaker 1: Yeah, I can see that it's such a specialized field.
- 10:39Speaker 1: Investing in training is probably crucial, right, absolutely.
- 10:42Speaker 2: And then there's the human element, getting people to change
- 10:45Speaker 2: their ways to embrace this new way of doing things.
- 10:48Speaker 2: That can be tough.
- 10:50Speaker 1: People are creatures of habit. It's understandable that some might
- 10:52Speaker 1: be resistant to change of.
- 10:54Speaker 2: Course, but it's all about communication, explaining the benefits, addressing
- 10:58Speaker 2: those concerns.
- 11:00Speaker 1: So those are the people challenges. What about technical challenges.
- 11:03Speaker 2: Well, one thing is ensuring that everything works together different vendors,
- 11:06Speaker 2: different platforms. Even though YANG is a standard, there can
- 11:10Speaker 2: be variations in how it's implemented.
- 11:12Speaker 1: So it's not always just plug and play.
- 11:14Speaker 2: You got to do your testing, make sure your YANG
- 11:16Speaker 2: models work across your entire network.
- 11:18Speaker 1: Makes sense.
- 11:19Speaker 2: Anything else security, As we automate more things, we need
- 11:22Speaker 2: to be extra careful about security.
- 11:24Speaker 1: Yeah, that makes sense, especially when we're talking about automating
- 11:27Speaker 1: critical network functions.
- 11:29Speaker 2: Absolutely, authentication, authorization, encryption, those are all crucial.
- 11:34Speaker 1: This has been really insightful. I'm starting to grasp the
- 11:37Speaker 1: potential of YANG, but also the complexity.
- 11:40Speaker 2: You've got it. It's powerful, but it's not magic. You
- 11:43Speaker 2: need planning, you need the right expertise.
- 11:45Speaker 1: Okay, before we wrap up this part of our deep dive,
- 11:48Speaker 1: one more question. We've talked about the theory, the challenges,
- 11:51Speaker 1: but I'm really curious about real world examples how our
- 11:54Speaker 1: businesses actually using YANG to solve real problems.
- 11:57Speaker 2: That's a great question, Yeah, and one that we will
- 12:00Speaker 2: into in the final part of our deep dive.
- 12:02Speaker 1: This is getting exciting. I can't wait to see how
- 12:04Speaker 1: YANG is being used out in the wild. But for now,
- 12:07Speaker 1: let's take a short break and come back refreshed and
- 12:09Speaker 1: ready to finish our deep dive into the world of
- 12:12Speaker 1: network programmability. Welcome back for the final part of our
- 12:16Speaker 1: deep dive. It's been quite the journey exploring this whole
- 12:19Speaker 1: world of network programmability.
- 12:21Speaker 2: It really has. We've covered a lot of ground we have.
- 12:24Speaker 1: From the good old CLI all the way to YANG
- 12:27Speaker 1: and these new protocol. I'm excited to hear about those
- 12:30Speaker 1: real world examples. You promised you know how our business
- 12:33Speaker 1: is actually using YANG to solve real problems and you know,
- 12:36Speaker 1: make their networks run better.
- 12:38Speaker 2: Let's start with a big one service providers, telecom companies.
- 12:42Speaker 2: They're using YANG to automate all those services we use
- 12:44Speaker 2: every day, broadband, mobile, data, voi, IP, you name it.
- 12:49Speaker 1: So they're not like manually configuring routers and switches for
- 12:53Speaker 1: every new customer anymore.
- 12:55Speaker 2: Exactly. Yang models define what each service needs and then
- 12:59Speaker 2: orchestration system take care of the configuration automatically.
- 13:02Speaker 1: I bet that not only saves time, but also cuts
- 13:05Speaker 1: down on those human errors.
- 13:07Speaker 2: You got it. And it's not just about the initial setup.
- 13:10Speaker 2: YANG also helps with monitoring performance, finding problems, and even
- 13:15Speaker 2: optimizing traffic in real time.
- 13:17Speaker 1: So it's like having a self driving network. That's pretty amazing.
- 13:20Speaker 2: It is pretty amazing. And service providers need this kind
- 13:22Speaker 2: of automation to keep up with the demand for bandwidth
- 13:24Speaker 2: and need to scale quickly, and YANG helps them do that.
- 13:27Speaker 1: Okay, so Yang's great for service providers, but what about
- 13:30Speaker 1: other industries? Are regular companies using this too? Oh?
- 13:33Speaker 2: Yeah, absolutely, enterprises are using YANG for all sorts of things,
- 13:36Speaker 2: data centers, office networks, even the Internet of Things.
- 13:40Speaker 1: Wow, so YANG isn't just for telecoms. It's going mainstream.
- 13:43Speaker 1: Can you give me an example, like, how are companies
- 13:46Speaker 1: using it in their data centers?
- 13:47Speaker 2: Well, for example, they're using to automate the setup of
- 13:51Speaker 2: virtual machines, storage networks, load balancers, all those crucial data
- 13:55Speaker 2: center components so they.
- 13:57Speaker 1: Can like scale their IT infrastructure on demand, right, responding
- 14:00Speaker 1: quickly to changes in their business exactly.
- 14:03Speaker 2: That's essential these days. And YANG also plays a big
- 14:06Speaker 2: role in technologies like SDN and NFB, software defined networking
- 14:10Speaker 2: and network functions virtualization.
- 14:12Speaker 1: So it sounds like YANG is a key part of
- 14:15Speaker 1: this whole software defined future of networking.
- 14:17Speaker 2: It is, and as networks get more complex, more spread out,
- 14:21Speaker 2: yang's importance is only going to grow.
- 14:23Speaker 1: That makes a lot of sense. But like any new technology,
- 14:26Speaker 1: I'm sure there are challenges and new things popping up
- 14:28Speaker 1: all the time. What are some of those things shaping
- 14:30Speaker 1: the future of Yang?
- 14:31Speaker 2: One big trend is open source YANG models. Organizations like
- 14:36Speaker 2: open config are creating standardized models that anyone can use.
- 14:40Speaker 1: That sounds like a good way to make sure everything
- 14:42Speaker 1: works together, right it is.
- 14:44Speaker 2: And another cool trend is using AI and machine learning
- 14:48Speaker 2: with YANG.
- 14:48Speaker 1: Oh that's interesting. How does that work?
- 14:50Speaker 2: Well? Yang gives those AI and mL algorithms the structured
- 14:55Speaker 2: data they need to analyze what's happening in the network.
- 14:57Speaker 2: They can find patterns, make predictions, all sorts of things.
- 15:00Speaker 1: So we're not just automating tasks, but actually moving towards
- 15:03Speaker 1: networks that can learn and adapt on their own.
- 15:06Speaker 2: Exactly, self optimizing, self healing networks.
- 15:09Speaker 1: That's a pretty incredible vision of the future. But what
- 15:11Speaker 1: about the challenges? You know, there's always something.
- 15:13Speaker 2: Right, of course, one thing is the need for better tools.
- 15:17Speaker 2: We have some good ones, but there's always room for improvement,
- 15:20Speaker 2: making them easier to use, more powerful, that kind of thing.
- 15:23Speaker 1: It's making YANG more user friendly is important absolutely.
- 15:26Speaker 2: And then there's security. As we automate more, security becomes
- 15:30Speaker 2: even more critical. We need to make sure everything is
- 15:32Speaker 2: locked down tight well.
- 15:34Speaker 1: Security is always a top priority, especially when we're talking
- 15:37Speaker 1: about automating important network functions.
- 15:39Speaker 2: You got it.
- 15:40Speaker 1: This has been a truly eye opening deep dive. We've
- 15:44Speaker 1: gone from CLIs to YANG, explored the details, looked at
- 15:48Speaker 1: real world uses, and even talked about the future. It's
- 15:52Speaker 1: clear that YANG is changing networking in a big way.
- 15:54Speaker 2: I completely agree. It's giving businesses what they need to
- 15:58Speaker 2: build those modern and agile, intelligent networks that are ready
- 16:02Speaker 2: for the future.
- 16:03Speaker 1: And to our listener, I hope this deep dive has
- 16:05Speaker 1: given you a solid understanding of this whole YANG thing.
- 16:08Speaker 1: You came to us with a ton of questions and materials,
- 16:11Speaker 1: and hopefully we've been able to break.
- 16:13Speaker 2: It all down. We've only scratched the surface, but hopefully
- 16:15Speaker 2: we spark your interest and you'll want to keep exploring.
- 16:18Speaker 1: The world of network Programmability is a vast and ever
- 16:21Speaker 1: changing landscape. It is, so keep learning, keep experimenting, and
- 16:26Speaker 1: who knows, maybe you'll be the one building the next
- 16:29Speaker 1: amazing Yang powered network solution, Happy networking