-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from QiufangMa/main
fix pyang errors & update author list in yang files
- Loading branch information
Showing
2 changed files
with
61 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,18 +25,18 @@ module ietf-voucher-request { | |
"IETF ANIMA Working Group"; | ||
|
||
contact | ||
"WG Web: <https://datatracker.ietf.org/wg/anima/> | ||
WG List: <mailto:[email protected]> | ||
Author: Kent Watsen | ||
<mailto:[email protected]> | ||
Author: Michael H. Behringer | ||
<mailto:[email protected]> | ||
Author: Toerless Eckert | ||
<mailto:[email protected]> | ||
Author: Max Pritikin | ||
<mailto:[email protected]> | ||
Author: Michael Richardson | ||
<mailto:[email protected]>"; | ||
"WG Web: <https://datatracker.ietf.org/wg/anima/> | ||
WG List: <mailto:[email protected]> | ||
Author: Kent Watsen | ||
<mailto:[email protected]> | ||
Author: Michael Richardson | ||
<mailto:[email protected]> | ||
Author: Max Pritikin | ||
<mailto:[email protected]> | ||
Author: Toerless Eckert | ||
<mailto:[email protected]> | ||
Author: Qiufang Ma | ||
<mailto:[email protected]>"; | ||
|
||
description | ||
"This module defines the format for a voucher request. | ||
|
@@ -50,18 +50,25 @@ module ietf-voucher-request { | |
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, | ||
they appear in all capitals, as shown here. | ||
Copyright (c) 2019 IETF Trust and the persons identified as | ||
authors of the code. All rights reserved. | ||
Copyright (c) 2024 IETF Trust and the persons identified as | ||
authors of the code. All rights reserved. | ||
Redistribution and use in source and binary forms, with or | ||
without modification, is permitted pursuant to, and subject | ||
to the license terms contained in, the Simplified BSD License | ||
set forth in Section 4.c of the IETF Trust's Legal Provisions | ||
Relating to IETF Documents | ||
(http://trustee.ietf.org/license-info). | ||
Redistribution and use in source and binary forms, with or | ||
without modification, is permitted pursuant to, and subject to | ||
the license terms contained in, the Revised BSD License set | ||
forth in Section 4.c of the IETF Trust's Legal Provisions | ||
Relating to IETF Documents | ||
(https://trustee.ietf.org/license-info). | ||
This version of this YANG module is part of RFC XXXX; see the | ||
RFC itself for full legal notices."; | ||
This version of this YANG module is part of RFC XXXX | ||
(https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself | ||
for full legal notices. | ||
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL | ||
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', | ||
'MAY', and 'OPTIONAL' in this document are to be interpreted as | ||
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, | ||
they appear in all capitals, as shown here."; | ||
|
||
revision "YYYY-MM-DD" { | ||
description | ||
|
@@ -254,6 +261,4 @@ module ietf-voucher-request { | |
} | ||
} | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,41 +20,45 @@ module ietf-voucher { | |
organization | ||
"IETF ANIMA Working Group"; | ||
contact | ||
"WG Web: <https://datatracker.ietf.org/wg/anima/> | ||
WG List: <mailto:[email protected]> | ||
Author: Kent Watsen | ||
<mailto:[email protected]> | ||
Author: Max Pritikin | ||
<mailto:[email protected]> | ||
Author: Michael Richardson | ||
<mailto:[email protected]> | ||
Author: Toerless Eckert | ||
<mailto:[email protected]>"; | ||
"WG Web: <https://datatracker.ietf.org/wg/anima/> | ||
WG List: <mailto:[email protected]> | ||
Author: Kent Watsen | ||
<mailto:[email protected]> | ||
Author: Michael Richardson | ||
<mailto:[email protected]> | ||
Author: Max Pritikin | ||
<mailto:[email protected]> | ||
Author: Toerless Eckert | ||
<mailto:[email protected]> | ||
Author: Qiufang Ma | ||
<mailto:[email protected]>"; | ||
|
||
description | ||
"This module defines the format for a voucher, which is | ||
produced by a pledge's manufacturer or delegate (MASA) | ||
to securely assign a pledge to an 'owner', so that the | ||
pledge may establish a secure connection to the owner's | ||
network infrastructure. | ||
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL | ||
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', | ||
'MAY', and 'OPTIONAL' in this document are to be interpreted as | ||
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, | ||
they appear in all capitals, as shown here. | ||
Copyright (c) 2023 IETF Trust and the persons identified as | ||
Copyright (c) 2024 IETF Trust and the persons identified as | ||
authors of the code. All rights reserved. | ||
Redistribution and use in source and binary forms, with or | ||
without modification, is permitted pursuant to, and subject | ||
to the license terms contained in, the Simplified BSD License | ||
set forth in Section 4.c of the IETF Trust's Legal Provisions | ||
without modification, is permitted pursuant to, and subject to | ||
the license terms contained in, the Revised BSD License set | ||
forth in Section 4.c of the IETF Trust's Legal Provisions | ||
Relating to IETF Documents | ||
(https://trustee.ietf.org/license-info). | ||
This version of this YANG module is part of RFC 8366; see the | ||
RFC itself for full legal notices."; | ||
This version of this YANG module is part of RFC XXXX | ||
(https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself | ||
for full legal notices. | ||
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL | ||
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED', | ||
'MAY', and 'OPTIONAL' in this document are to be interpreted as | ||
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when, | ||
they appear in all capitals, as shown here."; | ||
|
||
revision YYYY-MM-DD { | ||
description | ||
|
@@ -79,7 +83,6 @@ module ietf-voucher { | |
|
||
leaf created-on { | ||
type yang:date-and-time; | ||
mandatory false; | ||
description | ||
"A value indicating the date this voucher was created. | ||
This node is primarily for human consumption and auditing. | ||
|
@@ -140,6 +143,12 @@ module ietf-voucher { | |
a registrar agent has made contact with the device."; | ||
} | ||
} | ||
description | ||
"The assertion is a statement from the MASA regarding how | ||
the owner was verified. This statement enables pledges | ||
to support more detailed policy checks. Pledges MUST | ||
ensure that the assertion provided is acceptable, per | ||
local policy, before processing the voucher."; | ||
} | ||
leaf serial-number { | ||
type string; | ||
|
@@ -170,7 +179,6 @@ module ietf-voucher { | |
} | ||
leaf pinned-domain-cert { | ||
type binary; | ||
mandatory false; | ||
description | ||
"An X.509 v3 certificate structure, as specified by | ||
RFC 5280, using Distinguished Encoding Rules (DER) | ||
|