Hi Saku. I don't know that Netconf or gRPC are any faster than loading cli. Those protocols facilitate automation so that the time it takes to load any one device is not a significant factor, especially when you can roll out changes to devices in parallel. Also, it's easier to build the changes into a structured format than assemble the right syntax to interact with the CLI.
On Fri, Dec 9, 2022, 09:38 Saku Ytti <s...@ytti.fi> wrote: > Can Andrian and Joshua explain what they specifically mean, and how > they expect it to perform over what Steffann is already doing (e.g. > load https://nms/cfg/router.txt)? How much faster will it be, and why? > > Can Steffan explain how large a file they are copying, over what > protocol, how long does it take, and how long does the commit take. > > We used to have configurations in excess of a million lines before > 'or-longer' halved them, and we've seen much longer times than 30min > to get a new config pushed+commtited. We use FTP and while the FTP > does take its sweet time, the commit itself is very long as well. > > I refrain from expressing my disillusionment with the utility of doing > IRR based filtering. > > On Fri, 9 Dec 2022 at 15:38, Andrian Visnevschi via NANOG > <nanog@nanog.org> wrote: > > > > Two options: > > - gRPC > > - Netconf > > > > You can use tools like paramiko,netmiko or napalm that are widely used > to programmatically configure and manage your XR router. > > > > > > On Fri, Dec 9, 2022 at 2:24 AM Joshua Miller <conte...@gmail.com> wrote: > >> > >> Netconf is really nice for atomic changes to network devices, though it > would still take some time for the device to process such a large change. > >> > >> On Thu, Dec 8, 2022 at 6:05 PM Sander Steffann <san...@steffann.nl> > wrote: > >>> > >>> Hi, > >>> > >>> What is the best/most efficient/most convenient way to push large > prefix lists or sets to an XR router for BGP prefix filtering? Pushing > thousands of lines through the CLI seems foolish, I tried using the load > command but it seems horribly slow. What am I missing? :) > >>> > >>> Cheers! > >>> Sander > >>> > >>> --- > >>> for every complex problem, there’s a solution that is simple, neat, > and wrong > > > > > > > > -- > > > > Cheers, > > > > Andrian Visnevschi > > > > > > > -- > ++ytti >