![]() |
REST API
14
REST API for Luna Network HSMs
|
Sets the interface for NTLS
The identifier for a network interface
Use: Required
JSON Schema:
Object type: string
The following table shows defined values for interface
.
Value | Description |
---|---|
eth0 | Bind to the eth0 device |
eth1 | Bind to the eth1 device |
eth2 | Bind to the eth2 device |
eth3 | Bind to the eth3 device |
bond0 | Bind to the bond0 interface |
bond1 | Bind to the bond1 interface |
all | Bind to all IPv4 devices |
all-ipv6 | Bind to all IPv6 devices |
Default: all (0.0.0.0). This will bind to all IPv4 devices.
Note: The interface provided for binding should be active. Binding the NTLS service with an inactive interface isn't possible through REST API. Doing so will result an error for invalid interface.
Success
Invalid interface
Interface does not exist.
PUT https://1.2.3.4:8443/api/lunasa/ntls/bind { "interface" : "eth1" }
{ }