-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 #1454 from yang-catalog/main
Cronjob - daily update of yang files.
- Loading branch information
Showing
6 changed files
with
568 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
ietf-service-assurance-device@2023-07-11.yang |
68 changes: 68 additions & 0 deletions
68
standard/ietf/RFC/ietf-service-assurance-device@2023-07-11.yang
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
module ietf-service-assurance-device { | ||
yang-version 1.1; | ||
namespace | ||
"urn:ietf:params:xml:ns:yang:ietf-service-assurance-device"; | ||
prefix sain-device; | ||
|
||
import ietf-service-assurance { | ||
prefix sain; | ||
reference | ||
"RFC 9418: YANG Modules for Service Assurance"; | ||
} | ||
|
||
organization | ||
"IETF OPSAWG Working Group"; | ||
contact | ||
"WG Web: <https://datatracker.ietf.org/wg/opsawg/> | ||
WG List: <mailto:opsawg@ietf.org> | ||
Author: Benoit Claise <mailto:benoit.claise@huawei.com> | ||
Author: Jean Quilbeuf <mailto:jean.quilbeuf@huawei.com>"; | ||
description | ||
"This module augments the ietf-service-assurance module with | ||
support of the device subservice. | ||
Copyright (c) 2023 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 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 9418; see the | ||
RFC itself for full legal notices. "; | ||
|
||
revision 2023-07-11 { | ||
description | ||
"Initial revision."; | ||
reference | ||
"RFC 9418: YANG Modules for Service Assurance"; | ||
} | ||
|
||
identity device-type { | ||
base sain:subservice-base; | ||
description | ||
"Identity of device subservice."; | ||
} | ||
|
||
augment "/sain:subservices/sain:subservice/sain:parameter" { | ||
when "derived-from-or-self(sain:type, 'device-type')"; | ||
description | ||
"Augments the parameter choice from the ietf-service-assurance | ||
module with a case specific to the device subservice."; | ||
container parameters { | ||
description | ||
"Parameters for the device subservice type."; | ||
leaf device { | ||
type string; | ||
mandatory true; | ||
description | ||
"Identifier of the device to monitor. The | ||
identifier (e.g., device id, hostname, or management IP) | ||
depends on the context."; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
ietf-service-assurance-interface@2023-07-11.yang |
74 changes: 74 additions & 0 deletions
74
standard/ietf/RFC/ietf-service-assurance-interface@2023-07-11.yang
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
module ietf-service-assurance-interface { | ||
yang-version 1.1; | ||
namespace | ||
"urn:ietf:params:xml:ns:yang:ietf-service-assurance-interface"; | ||
prefix sain-interface; | ||
|
||
import ietf-service-assurance { | ||
prefix sain; | ||
reference | ||
"RFC 9418: YANG Modules for Service Assurance"; | ||
} | ||
|
||
organization | ||
"IETF OPSAWG Working Group"; | ||
contact | ||
"WG Web: <https://datatracker.ietf.org/wg/opsawg/> | ||
WG List: <mailto:opsawg@ietf.org> | ||
Author: Benoit Claise <mailto:benoit.claise@huawei.com> | ||
Author: Jean Quilbeuf <mailto:jean.quilbeuf@huawei.com>"; | ||
description | ||
"This module extends the ietf-service-assurance module to add | ||
support for the interface subservice. | ||
It checks whether an interface is healthy. | ||
Copyright (c) 2023 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 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 9418; see the | ||
RFC itself for full legal notices. "; | ||
|
||
revision 2023-07-11 { | ||
description | ||
"Initial revision."; | ||
reference | ||
"RFC 9418: YANG Modules for Service Assurance"; | ||
} | ||
|
||
identity interface-type { | ||
base sain:subservice-base; | ||
description | ||
"Checks whether an interface is healthy."; | ||
} | ||
|
||
augment "/sain:subservices/sain:subservice/sain:parameter" { | ||
when "derived-from-or-self(sain:type, 'interface-type')"; | ||
description | ||
"Augments the parameter choice from ietf-service-assurance | ||
module with a case specific to the interface subservice."; | ||
container parameters { | ||
description | ||
"Parameters for the interface subservice type."; | ||
leaf device { | ||
type string; | ||
mandatory true; | ||
description | ||
"Device supporting the interface."; | ||
} | ||
leaf interface { | ||
type string; | ||
mandatory true; | ||
description | ||
"Name of the interface."; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
ietf-service-assurance@2023-07-11.yang |
Oops, something went wrong.