mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-23 10:27:36 +00:00
[#3002] add examples for SZTP redirect options
This commit is contained in:
parent
a181a097cc
commit
ac65b67c35
@ -1475,7 +1475,43 @@
|
||||
"name": "sip-ua-cs-domains"
|
||||
},
|
||||
|
||||
// Option codes 142-145 are not defined in Kea.
|
||||
// Option code 142 is not defined in Kea.
|
||||
|
||||
/*
|
||||
0 1
|
||||
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
|
||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
||||
| option-code (143) | option-length |
|
||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
||||
. .
|
||||
. bootstrap-server-list (variable length) .
|
||||
. .
|
||||
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
||||
|
||||
option-code: OPTION_V4_SZTP_REDIRECT (143)
|
||||
|
||||
option-length: The option length in octets.
|
||||
|
||||
bootstrap-server-list: A list of servers for the
|
||||
client to attempt contacting, in order to obtain
|
||||
further bootstrapping data. Each URI entry in the
|
||||
bootstrap-server-list is structured as follows:
|
||||
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+
|
||||
| uri-length | URI |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+
|
||||
|
||||
uri-length: 2 octets long; specifies the length of the URI data.
|
||||
URI: URI of the SZTP bootstrap server.
|
||||
*/
|
||||
// Type: array of {tuple}
|
||||
{
|
||||
"code": 143,
|
||||
"data": "https://sztp1.example.com:8443, https://sztp2.example.com:8444",
|
||||
"name": "v4-sztp-redirect"
|
||||
},
|
||||
|
||||
// Option codes 144-145 are not defined in Kea.
|
||||
|
||||
// Type: uint8, IPv4 address, IPv4 address, array of {FQDN}
|
||||
{
|
||||
|
@ -1707,7 +1707,39 @@
|
||||
// Option code 112 is unassigned.
|
||||
// Option codes 113-134 are not defined in Kea.
|
||||
|
||||
// Option codes 136-142 are unassigned.
|
||||
/*
|
||||
0 1 2 3
|
||||
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
| option-code (136) | option-length |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
. bootstrap-server-list (variable length) .
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
|
||||
option-code: OPTION_V6_SZTP_REDIRECT (136)
|
||||
|
||||
option-length: The option length in octets.
|
||||
|
||||
bootstrap-server-list: A list of servers for the
|
||||
client to attempt contacting, in order to obtain
|
||||
further bootstrapping data. Each URI entry in the
|
||||
bootstrap-server-list is structured as follows:
|
||||
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+
|
||||
| uri-length | URI |
|
||||
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-...-+-+-+-+-+-+-+
|
||||
|
||||
uri-length: 2 octets long; specifies the length of the URI data.
|
||||
URI: URI of the SZTP bootstrap server.
|
||||
*/
|
||||
// Type: array of {tuple}
|
||||
{
|
||||
"code": 136,
|
||||
"data": "https://sztp1.example.com:8443, https://sztp2.example.com:8444",
|
||||
"name": "v6-sztp-redirect"
|
||||
},
|
||||
|
||||
// Option codes 137-142 are unassigned.
|
||||
|
||||
/*
|
||||
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user