frr icon indicating copy to clipboard operation
frr copied to clipboard

isisd: Extend IS-IS to communicate with the SRv6 SID Manager to allocate/release SRv6 SIDs

Open cscarpitta opened this issue 1 year ago • 2 comments

PR https://github.com/FRRouting/frr/pull/15604 introduces the SRv6 SID Manager, a zebra component responsible for SID allocation/management. The SRv6 SID Manager exposes a SID allocation/release APIs, allowing clients to request and release an SRv6 SID.

This PR extends the IS-IS daemon to communicate with the SRv6 SID Manager to allocate/release SRv6 SIDs.

cscarpitta avatar Apr 03 '24 20:04 cscarpitta

this project isn't active anymore @Mupli. the thing i am working on currently is here.

not aiming for node.js compat for this low level library but plan on implementing as many of the WinterCG/Node.js api's on top of this at some point, if there is any interest.

billywhizz avatar May 10 '24 15:05 billywhizz

too bad this project was 4th in the world if is about performance. https://www.techempower.com/benchmarks/#hw=ph&test=composite&section=data-r22

What was missing was the compatibility with the vast spectrum of js libraries that could be installed via npm.

I was looking into lo and it is too low level for me. If there could be some wrapper that could make things easier and allow to use npm libs.

Mupli avatar May 11 '24 10:05 Mupli

You can use NPM packages, just not packages that rely on some Node specific stuff

McSneaky avatar May 17 '24 07:05 McSneaky

how you mean that i would need to:

  1. install just to system.
  2. npm init 3.. modify package.json with start: just app.js

Btw. why just is not in npm repository ?

Mupli avatar May 18 '24 05:05 Mupli

hi @Mupli

the just-js/just project is not actively maintained anymore. just-js/lo is the current thing i am working on and, at some point, i may "resurrect" just-js/just as a more "batteries included" and "standard JS" compliant runtime built on top of lo.

https://github.com/just-js/lo

if lo looks interesting, feel free to raise an issue on that repo and we can discuss. lo module resolution is not compatible with node/npm right now but, as an embedder, you can override module resolution and roll your own however you want. this would allow building something npm or jsr compatible on top of lo.

there's an example that should be working with latest lo here. if you run

$ lo loader.js lib/asm/asm.js

LO_CACHE=1 lo loader.js lib/asm/asm.js
lib/asm/asm.js
fetching https://raw.githubusercontent.com/just-js/lo/0.0.15-pre/lib/asm/asm.js for lib/asm/asm.js from loader.js
1135
lib/asm/assembler.js
fetching https://raw.githubusercontent.com/just-js/lo/0.0.15-pre/lib/asm/assembler.js for lib/asm/assembler.js from loader.js
13327
lib/asm/compiler.js
fetching https://raw.githubusercontent.com/just-js/lo/0.0.15-pre/lib/asm/compiler.js for lib/asm/compiler.js from loader.js
1590
Assembler,Compiler,Registers

this will load the module over http from github and any modules it depends on. right now http (using libcurl) is synchronous/blocking but there will be a native async-compatible implementation of fetch ready soon. :pray:

billywhizz avatar May 19 '24 05:05 billywhizz