When a new resource is created, it is necessary to add it the necessary parameters to connect with its device. These parameters depend on the type of connections and the necessary credentials. For this reason, Mantychore works with URIs to specify the connection params to access like this:
transport://user:password@ip:port/subsystem
URI to connect with JUNOS routers
ssh://myuser:mypassword@1.1.1.1:22/netconf - URI to describe connection parameters.
- ssh. It specifies the ssh protocol
- user:password. Credentials to connect to the device.
- ip. IP Address of the device.
- port. If it is necessary, port TCP which the protocol uses to connect.
- netconf. It specify a particular communication inside the protocol
The parameters are quite easy to understand. The subsystem param specifics any extra necessary parameter to specify in the connection