Open jk2lx opened 1 year ago
Hi @jk2lx Which command (or file path) one uses to make a license active on a vmx?
In Junos operational mode one can apply the license from a file or paste it into the terminal:
Afaik there is no way to enable the license directly in the Junos configuration.
This would be the netconf rpc.
<rpc>
<request-license-add>
<key-data> key </key-data>
</request-license-add>
</rpc>
Hi @jk2lx, in #1274 I've implemented the request-license-add rpc. I'm also able to validate that it arrives and is properly interpreted by the node. However, I don't have access to a license. Would you mind giving the PR code a try and providing feedback?!
This is the actual binary generated via the gh actions for that PR branch. https://github.com/srl-labs/containerlab/suites/11277165560/artifacts/578278317
If you can download and execute it with a vr-vmx instance and a license file and provide feedback, that would be great.
Thanks
A second option seems to be, to utilize a bind mount as described here:
Allow the specification of license files for the vMX kind so that no manual license loading is necessary after a vMX reload.