grizzly v0.8.2 Grizzly.SmartStart.MetaExtension.BootstrappingMode View Source
This extension is used to advertise the bootstrapping mode to use when including the node advertised in the provisioning list
Link to this section Summary
Functions
Make a BootstrappingMode.t()
from a binary
Create a BootstrappingMode.t()
Make a binary from a BootstrappingMode.t()
Link to this section Types
Link to this type
mode()
View Source
mode()
View Source
mode() :: :security_2 | :smart_start
mode() :: :security_2 | :smart_start
The modes are:
:security_2
- the node must be manually set to learn mode and follow the S2 bootstrapping instructions:smart_start
- the node will use S2 bootstrapping automatically using the SmartStart functionality
Link to this type
t()
View Source
t()
View Source
t() :: %Grizzly.SmartStart.MetaExtension.BootstrappingMode{mode: mode()}
t() :: %Grizzly.SmartStart.MetaExtension.BootstrappingMode{mode: mode()}
Link to this section Functions
Link to this function
from_binary(arg1) View Source
Make a BootstrappingMode.t()
from a binary
The binary string for this extension requires the critical bit to be set and
if it is not this function will return {:error, :critical_bit_not_set}
Link to this function
new(mode) View Source
Create a BootstrappingMode.t()
Link to this function
to_binary(bootstrapping_mode) View Source
Make a binary from a BootstrappingMode.t()