module ietf-voucher-redirected {
yang-version 1.1;
namespace
"urn:ietf:params:xml:ns:yang:ietf-voucher-redirected";
prefix "redirected";
import ietf-restconf {
prefix rc;
description
"This import statement is only present to access
the yang-data extension defined in RFC 8040.";
reference "RFC 8040: RESTCONF Protocol";
}
import ietf-inet-types {
prefix ietf;
reference "RFC 6991: Common YANG Data Types";
}
import ietf-voucher {
prefix "v";
}
organization
"IETF ANIMA Working Group";
contact
"WG Web:
WG List:
Author: Michael Richardson
Author: Owen Friel
Author: Rifaat Shekh-Yusef
";
description
"This module extendes the base RFC8366 voucher format to
include a redirect to an EST server to which enrollment
should continue.
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL',
'SHALL NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'MAY',
and 'OPTIONAL' in the module text are to be interpreted as
described in BCP14, RFC 2119, and RFC8174.";
revision "2020-09-23" {
description
"Initial version";
reference
"RFC XXXX: Voucher Profile for Cloud redirected Devices";
}
rc:yang-data voucher-redirected-artifact {
// YANG data template for a voucher.
uses voucher-redirected-grouping;
}
// Grouping defined for future usage
grouping voucher-redirected-grouping {
description
"Grouping to allow reuse/extensions in future work.";
uses v:voucher-artifact-grouping {
augment "voucher" {
description "Base the constrained voucher
upon the regular one";
leaf est-domain {
type ietf:uri;
description
"The est-domain is a URL to which the Pledge should
continue doing enrollment rather than with the
Cloud Registrar.
The pinned-domain-cert contains a trust-anchor
which is to be used to authenticate the server
found at this URI.
";
}
leaf additional-configuration {
type ietf:uri;
description
"The additional-configuration attribute contains a
URL to which the Pledge can retrieve additional
configuration information.
The contents of this URL are vendor specific.
This is intended to do things like configure
a VoIP phone to point to the correct hosted
PBX, for example.";
}
}
}
}
}