Extension adds node name to yagna commands, which return table with nodeId
column.
Running built-in yagna command:
running with extension:
yagna-named
subscribes Demand
on market to get Offers from Providers. Offer
contains nodeID
field, which will be used by extension as Node name.
Node names are cached on disk and later used when running commands, so we don't query market each time, we execute a command.
First we need to collect node names and save them in cache. We can do this manually by calling command:
yagna named collect
or we can register extension to autostart:
yagna extension register named colllect
Now extension will be started together with yagna
daemon and will update node names cache in real time.
You can use it with any command that displays table with nodeId
column, by prefixing commands with named