Bump to odlparent 3.1.0 and yangtools 2.0.3 84/69884/1
authorStephen Kitt <skitt@redhat.com>
Thu, 22 Mar 2018 17:24:29 +0000 (18:24 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 22 Mar 2018 17:35:29 +0000 (18:35 +0100)
Change-Id: I4daf11b5d2fdb56c34b55b60b324c221f562599a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
features/features-dlux/pom.xml
features/odl-dlux-core/pom.xml
features/pom.xml
modules/loader-resources/src/main/resources/assets/yang2xml/ethernet-packet.yang.xml
modules/loader-resources/src/main/resources/assets/yang2xml/ietf-inet-types.yang.xml
pom.xml

index 4491c5f79db4b1dd8e41329b40b8cb3abf4fc263..d83df83c93ee60f859f318887f009b765e1502b6 100644 (file)
@@ -6,15 +6,13 @@
  terms of the Eclipse Public License v1.0 which accompanies this distribution,
  and is available at http://www.eclipse.org/legal/epl-v10.html
  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>feature-repo-parent</artifactId>
-        <version>3.0.2</version>
+        <version>3.1.0</version>
         <relativePath/>
     </parent>
 
index 60ae460d871d4facda5b37bdaa885f12d01cc50b..9a7e61f8e54fb36ae5b1e79936f16017e90a7743 100644 (file)
@@ -6,15 +6,13 @@
  terms of the Eclipse Public License v1.0 which accompanies this distribution,
  and is available at http://www.eclipse.org/legal/epl-v10.html
  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>single-feature-parent</artifactId>
-        <version>3.0.2</version>
+        <version>3.1.0</version>
         <relativePath/>
     </parent>
 
index 6cba40c774fe0f2e8943ddc2c0ed7763a5548089..255671169c904cd930eb893e8eae5d1b9ccd65c8 100644 (file)
@@ -6,13 +6,12 @@
  terms of the Eclipse Public License v1.0 which accompanies this distribution,
  and is available at http://www.eclipse.org/legal/epl-v10.html
  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>odlparent-lite</artifactId>
-        <version>3.0.2</version>
+        <version>3.1.0</version>
         <relativePath/>
     </parent>
     <groupId>org.opendaylight.dlux</groupId>
index 09ca439ad1d146e1bf562c3c386697a5047b0050..ef0ac04b501c241b94acab12b7d6a260e7b046bb 100644 (file)
@@ -1,9 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<module name="ethernet-packet"
-        xmlns="urn:ietf:params:xml:ns:yang:yin:1"
-        xmlns:ethernet="urn:opendaylight:packet:ethernet"
-        xmlns:yang="urn:ietf:params:xml:ns:yang:ietf-yang-types"
-        xmlns:pprocessing="urn:opendaylight:packet:service">
+<module xmlns="urn:ietf:params:xml:ns:yang:yin:1" xmlns:ethernet="urn:opendaylight:packet:ethernet" xmlns:yang="urn:ietf:params:xml:ns:yang:ietf-yang-types" xmlns:pprocessing="urn:opendaylight:packet:service" name="ethernet-packet">
   <yang-version value="1"/>
   <namespace uri="urn:opendaylight:packet:ethernet"/>
   <prefix value="ethernet"/>
index 39f6b14ee87fe1597026ff32f6d19977e2ead1fa..ec64f84667e9d93686187fdfcdd92c4493a7e0db 100644 (file)
-<?xml version="1.0" encoding="UTF-8"?>\r
-<module name="ietf-inet-types"\r
-        xmlns="urn:ietf:params:xml:ns:yang:yin:1"\r
-        xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types">\r
-  <namespace uri="urn:ietf:params:xml:ns:yang:ietf-inet-types"/>\r
-  <prefix value="inet"/>\r
-  <organization>\r
-    <text>IETF NETMOD (NETCONF Data Modeling Language) Working Group</text>\r
-  </organization>\r
-  <contact>\r
-    <text>WG Web:   &lt;http://tools.ietf.org/wg/netmod/&gt;\r
-WG List:  &lt;mailto:netmod@ietf.org&gt;\r
-\r
-WG Chair: David Partain\r
-          &lt;mailto:david.partain@ericsson.com&gt;\r
-\r
-WG Chair: David Kessens\r
-          &lt;mailto:david.kessens@nsn.com&gt;\r
-\r
-Editor:   Juergen Schoenwaelder\r
-          &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;</text>\r
-  </contact>\r
-  <description>\r
-    <text>This module contains a collection of generally useful derived\r
-YANG data types for Internet addresses and related things.\r
-\r
-Copyright (c) 2010 IETF Trust and the persons identified as\r
-authors of the code.  All rights reserved.\r
-\r
-\r
-\r
-Redistribution and use in source and binary forms, with or without\r
-modification, is permitted pursuant to, and subject to the license\r
-terms contained in, the Simplified BSD License set forth in Section\r
-4.c of the IETF Trust's Legal Provisions Relating to IETF Documents\r
-(http://trustee.ietf.org/license-info).\r
-\r
-This version of this YANG module is part of RFC 6021; see\r
-the RFC itself for full legal notices.</text>\r
-  </description>\r
-  <revision date="2010-09-24">\r
-    <description>\r
-      <text>Initial revision.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC 6021: Common YANG Data Types</text>\r
-    </reference>\r
-  </revision>\r
-  <typedef name="ip-version">\r
-    <type name="enumeration">\r
-      <enum name="unknown">\r
-        <value value="0"/>\r
-        <description>\r
-          <text>An unknown or unspecified version of the Internet protocol.</text>\r
-        </description>\r
-      </enum>\r
-      <enum name="ipv4">\r
-        <value value="1"/>\r
-        <description>\r
-          <text>The IPv4 protocol as defined in RFC 791.</text>\r
-        </description>\r
-      </enum>\r
-      <enum name="ipv6">\r
-        <value value="2"/>\r
-        <description>\r
-          <text>The IPv6 protocol as defined in RFC 2460.</text>\r
-        </description>\r
-      </enum>\r
-    </type>\r
-    <description>\r
-      <text>This value represents the version of the IP protocol.\r
-\r
-In the value set and its semantics, this type is equivalent\r
-to the InetVersion textual convention of the SMIv2.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC  791: Internet Protocol\r
-RFC 2460: Internet Protocol, Version 6 (IPv6) Specification\r
-RFC 4001: Textual Conventions for Internet Network Addresses</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="dscp">\r
-    <type name="uint8">\r
-      <range value="0..63"/>\r
-    </type>\r
-    <description>\r
-      <text>The dscp type represents a Differentiated Services Code-Point\r
-that may be used for marking packets in a traffic stream.\r
-\r
-In the value set and its semantics, this type is equivalent\r
-to the Dscp textual convention of the SMIv2.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC 3289: Management Information Base for the Differentiated\r
-          Services Architecture\r
-RFC 2474: Definition of the Differentiated Services Field\r
-          (DS Field) in the IPv4 and IPv6 Headers\r
-RFC 2780: IANA Allocation Guidelines For Values In\r
-          the Internet Protocol and Related Headers</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="ipv6-flow-label">\r
-    <type name="uint32">\r
-      <range value="0..1048575"/>\r
-    </type>\r
-    <description>\r
-      <text>The flow-label type represents flow identifier or Flow Label\r
-in an IPv6 packet header that may be used to discriminate\r
-traffic flows.\r
-\r
-In the value set and its semantics, this type is equivalent\r
-to the IPv6FlowLabel textual convention of the SMIv2.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC 3595: Textual Conventions for IPv6 Flow Label\r
-RFC 2460: Internet Protocol, Version 6 (IPv6) Specification</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="port-number">\r
-    <type name="uint16">\r
-      <range value="0..65535"/>\r
-    </type>\r
-    <description>\r
-      <text>The port-number type represents a 16-bit port number of an\r
-Internet transport layer protocol such as UDP, TCP, DCCP, or\r
-SCTP.  Port numbers are assigned by IANA.  A current list of\r
-all assignments is available from &lt;http://www.iana.org/&gt;.\r
-\r
-Note that the port number value zero is reserved by IANA.  In\r
-situations where the value zero does not make sense, it can\r
-be excluded by subtyping the port-number type.\r
-\r
-In the value set and its semantics, this type is equivalent\r
-to the InetPortNumber textual convention of the SMIv2.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC  768: User Datagram Protocol\r
-RFC  793: Transmission Control Protocol\r
-RFC 4960: Stream Control Transmission Protocol\r
-RFC 4340: Datagram Congestion Control Protocol (DCCP)\r
-RFC 4001: Textual Conventions for Internet Network Addresses</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="as-number">\r
-    <type name="uint32"/>\r
-    <description>\r
-      <text>The as-number type represents autonomous system numbers\r
-which identify an Autonomous System (AS).  An AS is a set\r
-of routers under a single technical administration, using\r
-an interior gateway protocol and common metrics to route\r
-packets within the AS, and using an exterior gateway\r
-protocol to route packets to other ASs'.  IANA maintains\r
-the AS number space and has delegated large parts to the\r
-regional registries.\r
-\r
-Autonomous system numbers were originally limited to 16\r
-bits.  BGP extensions have enlarged the autonomous system\r
-number space to 32 bits.  This type therefore uses an uint32\r
-base type without a range restriction in order to support\r
-a larger autonomous system number space.\r
-\r
-In the value set and its semantics, this type is equivalent\r
-to the InetAutonomousSystemNumber textual convention of\r
-the SMIv2.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC 1930: Guidelines for creation, selection, and registration\r
-          of an Autonomous System (AS)\r
-RFC 4271: A Border Gateway Protocol 4 (BGP-4)\r
-RFC 4893: BGP Support for Four-octet AS Number Space\r
-RFC 4001: Textual Conventions for Internet Network Addresses</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="ip-address">\r
-    <type name="union">\r
-      <type name="inet:ipv4-address"/>\r
-      <type name="inet:ipv6-address"/>\r
-    </type>\r
-    <description>\r
-      <text>The ip-address type represents an IP address and is IP\r
-version neutral.  The format of the textual representations\r
-implies the IP version.</text>\r
-    </description>\r
-  </typedef>\r
-  <typedef name="ipv4-address">\r
-    <type name="string">\r
-      <pattern value="(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?"/>\r
-    </type>\r
-    <description>\r
-      <text>The ipv4-address type represents an IPv4 address in\r
-dotted-quad notation.  The IPv4 address may include a zone\r
-index, separated by a % sign.\r
-\r
-The zone index is used to disambiguate identical address\r
-values.  For link-local addresses, the zone index will\r
-typically be the interface index number or the name of an\r
-interface.  If the zone index is not present, the default\r
-zone of the device will be used.\r
-\r
-The canonical format for the zone index is the numerical\r
-format</text>\r
-    </description>\r
-  </typedef>\r
-  <typedef name="ipv6-address">\r
-    <type name="string">\r
-      <pattern value="((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?"/>\r
-      <pattern value="(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(%.+)?"/>\r
-    </type>\r
-    <description>\r
-      <text>The ipv6-address type represents an IPv6 address in full,\r
-mixed, shortened, and shortened-mixed notation.  The IPv6\r
-address may include a zone index, separated by a % sign.\r
-\r
-\r
-\r
-\r
-\r
-The zone index is used to disambiguate identical address\r
-values.  For link-local addresses, the zone index will\r
-typically be the interface index number or the name of an\r
-interface.  If the zone index is not present, the default\r
-zone of the device will be used.\r
-\r
-The canonical format of IPv6 addresses uses the compressed\r
-format described in RFC 4291, Section 2.2, item 2 with the\r
-following additional rules: the :: substitution must be\r
-applied to the longest sequence of all-zero 16-bit chunks\r
-in an IPv6 address.  If there is a tie, the first sequence\r
-of all-zero 16-bit chunks is replaced by ::.  Single\r
-all-zero 16-bit chunks are not compressed.  The canonical\r
-format uses lowercase characters and leading zeros are\r
-not allowed.  The canonical format for the zone index is\r
-the numerical format as described in RFC 4007, Section\r
-11.2.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC 4291: IP Version 6 Addressing Architecture\r
-RFC 4007: IPv6 Scoped Address Architecture\r
-RFC 5952: A Recommendation for IPv6 Address Text Representation</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="ip-prefix">\r
-    <type name="union">\r
-      <type name="inet:ipv4-prefix"/>\r
-      <type name="inet:ipv6-prefix"/>\r
-    </type>\r
-    <description>\r
-      <text>The ip-prefix type represents an IP prefix and is IP\r
-version neutral.  The format of the textual representations\r
-implies the IP version.</text>\r
-    </description>\r
-  </typedef>\r
-  <typedef name="ipv4-prefix">\r
-    <type name="string">\r
-      <pattern value="(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))"/>\r
-    </type>\r
-    <description>\r
-      <text>The ipv4-prefix type represents an IPv4 address prefix.\r
-The prefix length is given by the number following the\r
-slash character and must be less than or equal to 32.\r
-\r
-\r
-\r
-A prefix length value of n corresponds to an IP address\r
-mask that has n contiguous 1-bits from the most\r
-significant bit (MSB) and all other bits set to 0.\r
-\r
-The canonical format of an IPv4 prefix has all bits of\r
-the IPv4 address set to zero that are not part of the\r
-IPv4 prefix.</text>\r
-    </description>\r
-  </typedef>\r
-  <typedef name="ipv6-prefix">\r
-    <type name="string">\r
-      <pattern value="((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))"/>\r
-      <pattern value="(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(/.+)"/>\r
-    </type>\r
-    <description>\r
-      <text>The ipv6-prefix type represents an IPv6 address prefix.\r
-The prefix length is given by the number following the\r
-slash character and must be less than or equal 128.\r
-\r
-A prefix length value of n corresponds to an IP address\r
-mask that has n contiguous 1-bits from the most\r
-significant bit (MSB) and all other bits set to 0.\r
-\r
-The IPv6 address should have all bits that do not belong\r
-to the prefix set to zero.\r
-\r
-The canonical format of an IPv6 prefix has all bits of\r
-the IPv6 address set to zero that are not part of the\r
-IPv6 prefix.  Furthermore, IPv6 address is represented\r
-in the compressed format described in RFC 4291, Section\r
-2.2, item 2 with the following additional rules: the ::\r
-substitution must be applied to the longest sequence of\r
-all-zero 16-bit chunks in an IPv6 address.  If there is\r
-a tie, the first sequence of all-zero 16-bit chunks is\r
-replaced by ::.  Single all-zero 16-bit chunks are not\r
-compressed.  The canonical format uses lowercase\r
-characters and leading zeros are not allowed.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC 4291: IP Version 6 Addressing Architecture</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="domain-name">\r
-    <type name="string">\r
-      <pattern value="((([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.)*([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.?)|\."/>\r
-      <length value="1..253"/>\r
-    </type>\r
-    <description>\r
-      <text>The domain-name type represents a DNS domain name.  The\r
-name SHOULD be fully qualified whenever possible.\r
-\r
-Internet domain names are only loosely specified.  Section\r
-3.5 of RFC 1034 recommends a syntax (modified in Section\r
-2.1 of RFC 1123).  The pattern above is intended to allow\r
-for current practice in domain name use, and some possible\r
-future expansion.  It is designed to hold various types of\r
-domain names, including names used for A or AAAA records\r
-(host names) and other records, such as SRV records.  Note\r
-that Internet host names have a stricter syntax (described\r
-in RFC 952) than the DNS recommendations in RFCs 1034 and\r
-1123, and that systems that want to store host names in\r
-schema nodes using the domain-name type are recommended to\r
-adhere to this stricter standard to ensure interoperability.\r
-\r
-The encoding of DNS names in the DNS protocol is limited\r
-to 255 characters.  Since the encoding consists of labels\r
-prefixed by a length bytes and there is a trailing NULL\r
-byte, only 253 characters can appear in the textual dotted\r
-notation.\r
-\r
-The description clause of schema nodes using the domain-name\r
-type MUST describe when and how these names are resolved to\r
-IP addresses.  Note that the resolution of a domain-name value\r
-may require to query multiple DNS records (e.g., A for IPv4\r
-and AAAA for IPv6).  The order of the resolution process and\r
-which DNS record takes precedence can either be defined\r
-explicitely or it may depend on the configuration of the\r
-resolver.\r
-\r
-Domain-name values use the US-ASCII encoding.  Their canonical\r
-format uses lowercase US-ASCII characters.  Internationalized\r
-domain names MUST be encoded in punycode as described in RFC\r
-3492</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC  952: DoD Internet Host Table Specification\r
-RFC 1034: Domain Names - Concepts and Facilities\r
-RFC 1123: Requirements for Internet Hosts -- Application\r
-          and Support\r
-RFC 2782: A DNS RR for specifying the location of services\r
-          (DNS SRV)\r
-RFC 3492: Punycode: A Bootstring encoding of Unicode for\r
-          Internationalized Domain Names in Applications\r
-          (IDNA)\r
-RFC 5891: Internationalizing Domain Names in Applications\r
-          (IDNA): Protocol</text>\r
-    </reference>\r
-  </typedef>\r
-  <typedef name="host">\r
-    <type name="union">\r
-      <type name="inet:ip-address"/>\r
-      <type name="inet:domain-name"/>\r
-    </type>\r
-    <description>\r
-      <text>The host type represents either an IP address or a DNS\r
-domain name.</text>\r
-    </description>\r
-  </typedef>\r
-  <typedef name="uri">\r
-    <type name="string"/>\r
-    <description>\r
-      <text>The uri type represents a Uniform Resource Identifier\r
-(URI) as defined by STD 66.\r
-\r
-Objects using the uri type MUST be in US-ASCII encoding,\r
-and MUST be normalized as described by RFC 3986 Sections\r
-6.2.1, 6.2.2.1, and 6.2.2.2.  All unnecessary\r
-percent-encoding is removed, and all case-insensitive\r
-characters are set to lowercase except for hexadecimal\r
-digits, which are normalized to uppercase as described in\r
-Section 6.2.2.1.\r
-\r
-The purpose of this normalization is to help provide\r
-unique URIs.  Note that this normalization is not\r
-sufficient to provide uniqueness.  Two URIs that are\r
-textually distinct after this normalization may still be\r
-equivalent.\r
-\r
-Objects using the uri type may restrict the schemes that\r
-they permit.  For example, 'data:' and 'urn:' schemes\r
-might not be appropriate.\r
-\r
-A zero-length URI is not a valid URI.  This can be used to\r
-express 'URI absent' where required.\r
-\r
-In the value set and its semantics, this type is equivalent\r
-to the Uri SMIv2 textual convention defined in RFC 5017.</text>\r
-    </description>\r
-    <reference>\r
-      <text>RFC 3986: Uniform Resource Identifier (URI): Generic Syntax\r
-RFC 3305: Report from the Joint W3C/IETF URI Planning Interest\r
-          Group: Uniform Resource Identifiers (URIs), URLs,\r
-          and Uniform Resource Names (URNs): Clarifications\r
-          and Recommendations\r
-RFC 5017: MIB Textual Conventions for Uniform Resource\r
-          Identifiers (URIs)</text>\r
-    </reference>\r
-  </typedef>\r
-</module>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<module xmlns="urn:ietf:params:xml:ns:yang:yin:1" xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types" name="ietf-inet-types">
+  <namespace uri="urn:ietf:params:xml:ns:yang:ietf-inet-types"/>
+  <prefix value="inet"/>
+  <organization>
+    <text>IETF NETMOD (NETCONF Data Modeling Language) Working Group</text>
+  </organization>
+  <contact>
+    <text>WG Web:   &lt;http://tools.ietf.org/wg/netmod/&gt;
+WG List:  &lt;mailto:netmod@ietf.org&gt;
+
+WG Chair: David Partain
+          &lt;mailto:david.partain@ericsson.com&gt;
+
+WG Chair: David Kessens
+          &lt;mailto:david.kessens@nsn.com&gt;
+
+Editor:   Juergen Schoenwaelder
+          &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;</text>
+  </contact>
+  <description>
+    <text>This module contains a collection of generally useful derived
+YANG data types for Internet addresses and related things.
+
+Copyright (c) 2010 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).
+
+This version of this YANG module is part of RFC 6021; see
+the RFC itself for full legal notices.</text>
+  </description>
+  <revision date="2010-09-24">
+    <description>
+      <text>Initial revision.</text>
+    </description>
+    <reference>
+      <text>RFC 6021: Common YANG Data Types</text>
+    </reference>
+  </revision>
+  <typedef name="ip-version">
+    <type name="enumeration">
+      <enum name="unknown">
+        <value value="0"/>
+        <description>
+          <text>An unknown or unspecified version of the Internet protocol.</text>
+        </description>
+      </enum>
+      <enum name="ipv4">
+        <value value="1"/>
+        <description>
+          <text>The IPv4 protocol as defined in RFC 791.</text>
+        </description>
+      </enum>
+      <enum name="ipv6">
+        <value value="2"/>
+        <description>
+          <text>The IPv6 protocol as defined in RFC 2460.</text>
+        </description>
+      </enum>
+    </type>
+    <description>
+      <text>This value represents the version of the IP protocol.
+
+In the value set and its semantics, this type is equivalent
+to the InetVersion textual convention of the SMIv2.</text>
+    </description>
+    <reference>
+      <text>RFC  791: Internet Protocol
+RFC 2460: Internet Protocol, Version 6 (IPv6) Specification
+RFC 4001: Textual Conventions for Internet Network Addresses</text>
+    </reference>
+  </typedef>
+  <typedef name="dscp">
+    <type name="uint8">
+      <range value="0..63"/>
+    </type>
+    <description>
+      <text>The dscp type represents a Differentiated Services Code-Point
+that may be used for marking packets in a traffic stream.
+
+In the value set and its semantics, this type is equivalent
+to the Dscp textual convention of the SMIv2.</text>
+    </description>
+    <reference>
+      <text>RFC 3289: Management Information Base for the Differentiated
+          Services Architecture
+RFC 2474: Definition of the Differentiated Services Field
+          (DS Field) in the IPv4 and IPv6 Headers
+RFC 2780: IANA Allocation Guidelines For Values In
+          the Internet Protocol and Related Headers</text>
+    </reference>
+  </typedef>
+  <typedef name="ipv6-flow-label">
+    <type name="uint32">
+      <range value="0..1048575"/>
+    </type>
+    <description>
+      <text>The flow-label type represents flow identifier or Flow Label
+in an IPv6 packet header that may be used to discriminate
+traffic flows.
+
+In the value set and its semantics, this type is equivalent
+to the IPv6FlowLabel textual convention of the SMIv2.</text>
+    </description>
+    <reference>
+      <text>RFC 3595: Textual Conventions for IPv6 Flow Label
+RFC 2460: Internet Protocol, Version 6 (IPv6) Specification</text>
+    </reference>
+  </typedef>
+  <typedef name="port-number">
+    <type name="uint16">
+      <range value="0..65535"/>
+    </type>
+    <description>
+      <text>The port-number type represents a 16-bit port number of an
+Internet transport layer protocol such as UDP, TCP, DCCP, or
+SCTP.  Port numbers are assigned by IANA.  A current list of
+all assignments is available from &lt;http://www.iana.org/&gt;.
+
+Note that the port number value zero is reserved by IANA.  In
+situations where the value zero does not make sense, it can
+be excluded by subtyping the port-number type.
+
+In the value set and its semantics, this type is equivalent
+to the InetPortNumber textual convention of the SMIv2.</text>
+    </description>
+    <reference>
+      <text>RFC  768: User Datagram Protocol
+RFC  793: Transmission Control Protocol
+RFC 4960: Stream Control Transmission Protocol
+RFC 4340: Datagram Congestion Control Protocol (DCCP)
+RFC 4001: Textual Conventions for Internet Network Addresses</text>
+    </reference>
+  </typedef>
+  <typedef name="as-number">
+    <type name="uint32"/>
+    <description>
+      <text>The as-number type represents autonomous system numbers
+which identify an Autonomous System (AS).  An AS is a set
+of routers under a single technical administration, using
+an interior gateway protocol and common metrics to route
+packets within the AS, and using an exterior gateway
+protocol to route packets to other ASs'.  IANA maintains
+the AS number space and has delegated large parts to the
+regional registries.
+
+Autonomous system numbers were originally limited to 16
+bits.  BGP extensions have enlarged the autonomous system
+number space to 32 bits.  This type therefore uses an uint32
+base type without a range restriction in order to support
+a larger autonomous system number space.
+
+In the value set and its semantics, this type is equivalent
+to the InetAutonomousSystemNumber textual convention of
+the SMIv2.</text>
+    </description>
+    <reference>
+      <text>RFC 1930: Guidelines for creation, selection, and registration
+          of an Autonomous System (AS)
+RFC 4271: A Border Gateway Protocol 4 (BGP-4)
+RFC 4893: BGP Support for Four-octet AS Number Space
+RFC 4001: Textual Conventions for Internet Network Addresses</text>
+    </reference>
+  </typedef>
+  <typedef name="ip-address">
+    <type name="union">
+      <type name="inet:ipv4-address"/>
+      <type name="inet:ipv6-address"/>
+    </type>
+    <description>
+      <text>The ip-address type represents an IP address and is IP
+version neutral.  The format of the textual representations
+implies the IP version.</text>
+    </description>
+  </typedef>
+  <typedef name="ipv4-address">
+    <type name="string">
+      <pattern value="(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?"/>
+    </type>
+    <description>
+      <text>The ipv4-address type represents an IPv4 address in
+dotted-quad notation.  The IPv4 address may include a zone
+index, separated by a % sign.
+
+The zone index is used to disambiguate identical address
+values.  For link-local addresses, the zone index will
+typically be the interface index number or the name of an
+interface.  If the zone index is not present, the default
+zone of the device will be used.
+
+The canonical format for the zone index is the numerical
+format</text>
+    </description>
+  </typedef>
+  <typedef name="ipv6-address">
+    <type name="string">
+      <pattern value="((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?"/>
+      <pattern value="(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(%.+)?"/>
+    </type>
+    <description>
+      <text>The ipv6-address type represents an IPv6 address in full,
+mixed, shortened, and shortened-mixed notation.  The IPv6
+address may include a zone index, separated by a % sign.
+
+
+
+
+
+The zone index is used to disambiguate identical address
+values.  For link-local addresses, the zone index will
+typically be the interface index number or the name of an
+interface.  If the zone index is not present, the default
+zone of the device will be used.
+
+The canonical format of IPv6 addresses uses the compressed
+format described in RFC 4291, Section 2.2, item 2 with the
+following additional rules: the :: substitution must be
+applied to the longest sequence of all-zero 16-bit chunks
+in an IPv6 address.  If there is a tie, the first sequence
+of all-zero 16-bit chunks is replaced by ::.  Single
+all-zero 16-bit chunks are not compressed.  The canonical
+format uses lowercase characters and leading zeros are
+not allowed.  The canonical format for the zone index is
+the numerical format as described in RFC 4007, Section
+11.2.</text>
+    </description>
+    <reference>
+      <text>RFC 4291: IP Version 6 Addressing Architecture
+RFC 4007: IPv6 Scoped Address Architecture
+RFC 5952: A Recommendation for IPv6 Address Text Representation</text>
+    </reference>
+  </typedef>
+  <typedef name="ip-prefix">
+    <type name="union">
+      <type name="inet:ipv4-prefix"/>
+      <type name="inet:ipv6-prefix"/>
+    </type>
+    <description>
+      <text>The ip-prefix type represents an IP prefix and is IP
+version neutral.  The format of the textual representations
+implies the IP version.</text>
+    </description>
+  </typedef>
+  <typedef name="ipv4-prefix">
+    <type name="string">
+      <pattern value="(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2]))"/>
+    </type>
+    <description>
+      <text>The ipv4-prefix type represents an IPv4 address prefix.
+The prefix length is given by the number following the
+slash character and must be less than or equal to 32.
+
+
+
+A prefix length value of n corresponds to an IP address
+mask that has n contiguous 1-bits from the most
+significant bit (MSB) and all other bits set to 0.
+
+The canonical format of an IPv4 prefix has all bits of
+the IPv4 address set to zero that are not part of the
+IPv4 prefix.</text>
+    </description>
+  </typedef>
+  <typedef name="ipv6-prefix">
+    <type name="string">
+      <pattern value="((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))"/>
+      <pattern value="(([^:]+:){6}(([^:]+:[^:]+)|(.*\..*)))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?)(/.+)"/>
+    </type>
+    <description>
+      <text>The ipv6-prefix type represents an IPv6 address prefix.
+The prefix length is given by the number following the
+slash character and must be less than or equal 128.
+
+A prefix length value of n corresponds to an IP address
+mask that has n contiguous 1-bits from the most
+significant bit (MSB) and all other bits set to 0.
+
+The IPv6 address should have all bits that do not belong
+to the prefix set to zero.
+
+The canonical format of an IPv6 prefix has all bits of
+the IPv6 address set to zero that are not part of the
+IPv6 prefix.  Furthermore, IPv6 address is represented
+in the compressed format described in RFC 4291, Section
+2.2, item 2 with the following additional rules: the ::
+substitution must be applied to the longest sequence of
+all-zero 16-bit chunks in an IPv6 address.  If there is
+a tie, the first sequence of all-zero 16-bit chunks is
+replaced by ::.  Single all-zero 16-bit chunks are not
+compressed.  The canonical format uses lowercase
+characters and leading zeros are not allowed.</text>
+    </description>
+    <reference>
+      <text>RFC 4291: IP Version 6 Addressing Architecture</text>
+    </reference>
+  </typedef>
+  <typedef name="domain-name">
+    <type name="string">
+      <pattern value="((([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.)*([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.?)|\."/>
+      <length value="1..253"/>
+    </type>
+    <description>
+      <text>The domain-name type represents a DNS domain name.  The
+name SHOULD be fully qualified whenever possible.
+
+Internet domain names are only loosely specified.  Section
+3.5 of RFC 1034 recommends a syntax (modified in Section
+2.1 of RFC 1123).  The pattern above is intended to allow
+for current practice in domain name use, and some possible
+future expansion.  It is designed to hold various types of
+domain names, including names used for A or AAAA records
+(host names) and other records, such as SRV records.  Note
+that Internet host names have a stricter syntax (described
+in RFC 952) than the DNS recommendations in RFCs 1034 and
+1123, and that systems that want to store host names in
+schema nodes using the domain-name type are recommended to
+adhere to this stricter standard to ensure interoperability.
+
+The encoding of DNS names in the DNS protocol is limited
+to 255 characters.  Since the encoding consists of labels
+prefixed by a length bytes and there is a trailing NULL
+byte, only 253 characters can appear in the textual dotted
+notation.
+
+The description clause of schema nodes using the domain-name
+type MUST describe when and how these names are resolved to
+IP addresses.  Note that the resolution of a domain-name value
+may require to query multiple DNS records (e.g., A for IPv4
+and AAAA for IPv6).  The order of the resolution process and
+which DNS record takes precedence can either be defined
+explicitely or it may depend on the configuration of the
+resolver.
+
+Domain-name values use the US-ASCII encoding.  Their canonical
+format uses lowercase US-ASCII characters.  Internationalized
+domain names MUST be encoded in punycode as described in RFC
+3492</text>
+    </description>
+    <reference>
+      <text>RFC  952: DoD Internet Host Table Specification
+RFC 1034: Domain Names - Concepts and Facilities
+RFC 1123: Requirements for Internet Hosts -- Application
+          and Support
+RFC 2782: A DNS RR for specifying the location of services
+          (DNS SRV)
+RFC 3492: Punycode: A Bootstring encoding of Unicode for
+          Internationalized Domain Names in Applications
+          (IDNA)
+RFC 5891: Internationalizing Domain Names in Applications
+          (IDNA): Protocol</text>
+    </reference>
+  </typedef>
+  <typedef name="host">
+    <type name="union">
+      <type name="inet:ip-address"/>
+      <type name="inet:domain-name"/>
+    </type>
+    <description>
+      <text>The host type represents either an IP address or a DNS
+domain name.</text>
+    </description>
+  </typedef>
+  <typedef name="uri">
+    <type name="string"/>
+    <description>
+      <text>The uri type represents a Uniform Resource Identifier
+(URI) as defined by STD 66.
+
+Objects using the uri type MUST be in US-ASCII encoding,
+and MUST be normalized as described by RFC 3986 Sections
+6.2.1, 6.2.2.1, and 6.2.2.2.  All unnecessary
+percent-encoding is removed, and all case-insensitive
+characters are set to lowercase except for hexadecimal
+digits, which are normalized to uppercase as described in
+Section 6.2.2.1.
+
+The purpose of this normalization is to help provide
+unique URIs.  Note that this normalization is not
+sufficient to provide uniqueness.  Two URIs that are
+textually distinct after this normalization may still be
+equivalent.
+
+Objects using the uri type may restrict the schemes that
+they permit.  For example, 'data:' and 'urn:' schemes
+might not be appropriate.
+
+A zero-length URI is not a valid URI.  This can be used to
+express 'URI absent' where required.
+
+In the value set and its semantics, this type is equivalent
+to the Uri SMIv2 textual convention defined in RFC 5017.</text>
+    </description>
+    <reference>
+      <text>RFC 3986: Uniform Resource Identifier (URI): Generic Syntax
+RFC 3305: Report from the Joint W3C/IETF URI Planning Interest
+          Group: Uniform Resource Identifiers (URIs), URLs,
+          and Uniform Resource Names (URNs): Clarifications
+          and Recommendations
+RFC 5017: MIB Textual Conventions for Uniform Resource
+          Identifiers (URIs)</text>
+    </reference>
+  </typedef>
+</module>
diff --git a/pom.xml b/pom.xml
index 6523404810c3273170025f0f0e9576e40139528f..b8ade6a6e09d9a20bee8c78569ab32d94dfbb6eb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -4,8 +4,8 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
-    <version>3.0.2</version>
-    <relativePath></relativePath>
+    <version>3.1.0</version>
+    <relativePath/>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>