-
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.
Cronjob - daily check of IETF modules.
- Loading branch information
Miroslav Kovac
committed
Oct 18, 2023
1 parent
940ea8a
commit 7168782
Showing
6 changed files
with
1,045 additions
and
55 deletions.
There are no files selected for viewing
314 changes: 314 additions & 0 deletions
314
experimental/ietf-extracted-YANG-modules/iana-icmpv4-types@2020-09-25.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,314 @@ | ||
module iana-icmpv4-types { | ||
yang-version 1.1; | ||
namespace "urn:ietf:params:xml:ns:yang:iana-icmpv4-types"; | ||
prefix iana-icmpv4-types; | ||
|
||
organization | ||
"Internet Assigned Numbers Authority (IANA)"; | ||
|
||
contact | ||
"Internet Assigned Numbers Authority | ||
ICANN | ||
12025 Waterfront Drive, Suite 300 | ||
Los Angeles, CA 90094 | ||
Tel: +1 424 254 5300 | ||
<mailto:iana@iana.org>"; | ||
|
||
description | ||
"This YANG module translates IANA registry 'ICMP Type Numbers' to | ||
YANG derived types. | ||
Copyright (c) 2020 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 was generated from the | ||
corresponding IANA registry using an XSLT stylesheet from the | ||
'iana-yang' project (https://github.com/llhotka/iana-yang)."; | ||
|
||
reference | ||
"Internet Control Message Protocol (ICMP) Parameters | ||
(https://www.iana.org/assignments/icmp-parameters/)"; | ||
|
||
revision 2020-09-25 { | ||
description | ||
"Current revision as of the revision date specified in the XML | ||
representation of the registry page."; | ||
reference | ||
"https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xml"; | ||
} | ||
|
||
/* Typedefs */ | ||
|
||
typedef icmpv4-type-name { | ||
type enumeration { | ||
enum EchoReply { | ||
value 0; | ||
description | ||
"Echo Reply"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum DestinationUnreachable { | ||
value 3; | ||
description | ||
"Destination Unreachable"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum SourceQuench { | ||
value 4; | ||
status deprecated; | ||
description | ||
"Source Quench (Deprecated)"; | ||
reference | ||
"- RFC 792 | ||
- RFC 6633"; | ||
} | ||
enum Redirect { | ||
value 5; | ||
description | ||
"Redirect"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum AlternateHostAddress { | ||
value 6; | ||
status deprecated; | ||
description | ||
"Alternate Host Address (Deprecated)"; | ||
reference | ||
"RFC 6918"; | ||
} | ||
enum Echo { | ||
value 8; | ||
description | ||
"Echo"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum RouterAdvertisement { | ||
value 9; | ||
description | ||
"Router Advertisement"; | ||
reference | ||
"RFC 1256"; | ||
} | ||
enum RouterSolicitation { | ||
value 10; | ||
description | ||
"Router Solicitation"; | ||
reference | ||
"RFC 1256"; | ||
} | ||
enum TimeExceeded { | ||
value 11; | ||
description | ||
"Time Exceeded"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum ParameterProblem { | ||
value 12; | ||
description | ||
"Parameter Problem"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum Timestamp { | ||
value 13; | ||
description | ||
"Timestamp"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum TimestampReply { | ||
value 14; | ||
description | ||
"Timestamp Reply"; | ||
reference | ||
"RFC 792"; | ||
} | ||
enum InformationRequest { | ||
value 15; | ||
status deprecated; | ||
description | ||
"Information Request (Deprecated)"; | ||
reference | ||
"- RFC 792 | ||
- RFC 6918"; | ||
} | ||
enum InformationReply { | ||
value 16; | ||
status deprecated; | ||
description | ||
"Information Reply (Deprecated)"; | ||
reference | ||
"- RFC 792 | ||
- RFC 6918"; | ||
} | ||
enum AddressMaskRequest { | ||
value 17; | ||
status deprecated; | ||
description | ||
"Address Mask Request (Deprecated)"; | ||
reference | ||
"- RFC 950 | ||
- RFC 6918"; | ||
} | ||
enum AddressMaskReply { | ||
value 18; | ||
status deprecated; | ||
description | ||
"Address Mask Reply (Deprecated)"; | ||
reference | ||
"- RFC 950 | ||
- RFC 6918"; | ||
} | ||
enum Traceroute { | ||
value 30; | ||
status deprecated; | ||
description | ||
"Traceroute (Deprecated)"; | ||
reference | ||
"- RFC 1393 | ||
- RFC 6918"; | ||
} | ||
enum DatagramConversionError { | ||
value 31; | ||
status deprecated; | ||
description | ||
"Datagram Conversion Error (Deprecated)"; | ||
reference | ||
"- RFC 1475 | ||
- RFC 6918"; | ||
} | ||
enum MobileHostRedirect { | ||
value 32; | ||
status deprecated; | ||
description | ||
"Mobile Host Redirect (Deprecated)"; | ||
reference | ||
"- David Johnson <> | ||
- RFC 6918"; | ||
} | ||
enum IPv6Where-Are-You { | ||
value 33; | ||
status deprecated; | ||
description | ||
"IPv6 Where-Are-You (Deprecated)"; | ||
reference | ||
"- Bill Simpson <mailto:Bill.Simpson&um.cc.umich.edu> | ||
- RFC 6918"; | ||
} | ||
enum IPv6I-Am-Here { | ||
value 34; | ||
status deprecated; | ||
description | ||
"IPv6 I-Am-Here (Deprecated)"; | ||
reference | ||
"- Bill Simpson <mailto:Bill.Simpson&um.cc.umich.edu> | ||
- RFC 6918"; | ||
} | ||
enum MobileRegistrationRequest { | ||
value 35; | ||
status deprecated; | ||
description | ||
"Mobile Registration Request (Deprecated)"; | ||
reference | ||
"- Bill Simpson <mailto:Bill.Simpson&um.cc.umich.edu> | ||
- RFC 6918"; | ||
} | ||
enum MobileRegistrationReply { | ||
value 36; | ||
status deprecated; | ||
description | ||
"Mobile Registration Reply (Deprecated)"; | ||
reference | ||
"- Bill Simpson <mailto:Bill.Simpson&um.cc.umich.edu> | ||
- RFC 6918"; | ||
} | ||
enum DomainNameRequest { | ||
value 37; | ||
status deprecated; | ||
description | ||
"Domain Name Request (Deprecated)"; | ||
reference | ||
"- RFC 1788 | ||
- RFC 6918"; | ||
} | ||
enum DomainNameReply { | ||
value 38; | ||
status deprecated; | ||
description | ||
"Domain Name Reply (Deprecated)"; | ||
reference | ||
"- RFC 1788 | ||
- RFC 6918"; | ||
} | ||
enum SKIP { | ||
value 39; | ||
status deprecated; | ||
description | ||
"SKIP (Deprecated)"; | ||
reference | ||
"- Tom Markson <mailto:markson&osmosys.incog.com> | ||
- RFC 6918"; | ||
} | ||
enum Photuris { | ||
value 40; | ||
description | ||
"Photuris"; | ||
reference | ||
"RFC 2521"; | ||
} | ||
enum ICMPmessagesutilizedbyexperimentalmobilityprotocolssuchasSeamoby { | ||
value 41; | ||
description | ||
"ICMP messages utilized by experimental mobility protocols | ||
such as Seamoby"; | ||
reference | ||
"RFC 4065"; | ||
} | ||
enum ExtendedEchoRequest { | ||
value 42; | ||
description | ||
"Extended Echo Request"; | ||
reference | ||
"RFC 8335"; | ||
} | ||
enum ExtendedEchoReply { | ||
value 43; | ||
description | ||
"Extended Echo Reply"; | ||
reference | ||
"RFC 8335"; | ||
} | ||
} | ||
description | ||
"This enumeration type defines mnemonic names and corresponding | ||
numeric values of ICMPv4 types."; | ||
reference | ||
"RFC 2708: IANA Allocation Guidelines For Values In the | ||
Internet Protocol and Related Headers"; | ||
} | ||
|
||
typedef icmpv4-type { | ||
type union { | ||
type uint8; | ||
type icmpv4-type-name; | ||
} | ||
description | ||
"This type allows reference to an ICMPv4 type using either the | ||
assigned mnemonic name or numeric value."; | ||
} | ||
} |
Oops, something went wrong.