Commit 13595678 authored by britoj's avatar britoj
Browse files

v1.1.1

parent 01165391
Loading
Loading
Loading
Loading

etsi-qkd-node-types.yang

100755 → 100644
+5 −2
Original line number Original line Diff line number Diff line
/* Copyright 2021 ETSI
Licensed under the BSD-3 Clause (https://forge.etsi.org/legal-matters) */

module etsi-qkd-node-types {
module etsi-qkd-node-types {


  yang-version "1";
  yang-version "1";
@@ -15,7 +18,7 @@ module etsi-qkd-node-types {
  description
  description
    "This module contains the base types created for 
    "This module contains the base types created for 
    the software-defined QKD node information models
    the software-defined QKD node information models
    specified in ETSI GS QKD 015.
    specified in ETSI GS QKD 015 V1.1.1
    - QKD-LINK-TYPES
    - QKD-LINK-TYPES
    - QKD-TECHNOLOGY-TYPES
    - QKD-TECHNOLOGY-TYPES
    - QKD-ROLE-TYPES
    - QKD-ROLE-TYPES
@@ -205,7 +208,7 @@ module etsi-qkd-node-types {
                "A WDM channel number (starting at 1). For example: 20";
                "A WDM channel number (starting at 1). For example: 20";
  }
  }


  //Pattern from A Yang Data Model for WSON Optical Networks.
  //Pattern from "A Yang Data Model for WSON Optical Networks".
  typedef wavelength-range-type {
  typedef wavelength-range-type {
            type string {
            type string {
                pattern "([1-9][0-9]{0,3}(-[1-9][0-9]{0,3})?" +
                pattern "([1-9][0-9]{0,3}(-[1-9][0-9]{0,3})?" +

etsi-qkd-sdn-node.yang

100755 → 100644
+15 −10
Original line number Original line Diff line number Diff line
/* Copyright 2021 ETSI
Licensed under the BSD-3 Clause (https://forge.etsi.org/legal-matters) */

module etsi-qkd-sdn-node {
module etsi-qkd-sdn-node {


  yang-version "1";
  yang-version "1";
@@ -20,7 +23,7 @@ module etsi-qkd-sdn-node {
  description
  description
    "This module contains the groupings and containers composing 
    "This module contains the groupings and containers composing 
    the software-defined QKD node information models
    the software-defined QKD node information models
    specified in ETSI GS QKD 015.";
    specified in ETSI GS QKD 015 V1.1.1";


  revision "2020-09-30" {
  revision "2020-09-30" {
    description
    description
@@ -415,7 +418,7 @@ module etsi-qkd-sdn-node {
        uses common_performance;
        uses common_performance;


        uses physical_link_perf {
        uses physical_link_perf {
          when "../type = 'PHYS'" {
          when "../../type = 'PHYS'" {
            description "Performance of the specific physical link.";
            description "Performance of the specific physical link.";
          }
          }
        }
        }
@@ -601,7 +604,7 @@ module etsi-qkd-sdn-node {
        }
        }
        description "Type of the registered application. These
        description "Type of the registered application. These
          values, defined within the types module, can be client
          values, defined within the types module, can be client
          (it we have an external application requesting keys)
          (if an external application is requesting keys)
          or internal (if the application is defined to maintain
          or internal (if the application is defined to maintain
          the QKD network - e.g. multi-hop, authentication or
          the QKD network - e.g. multi-hop, authentication or
          other encryption operations).";
          other encryption operations).";
@@ -714,7 +717,7 @@ module etsi-qkd-sdn-node {


      leaf reason {
      leaf reason {
        type string;
        type string;
        description "Auxilar parameter to include additional
        description "Auxiliary parameter to include additional
          information about the reason for interface failure.";
          information about the reason for interface failure.";
      }
      }
    }
    }
@@ -744,7 +747,7 @@ module etsi-qkd-sdn-node {


      leaf reason {
      leaf reason {
        type string;
        type string;
        description "Auxilar parameter to include additional
        description "Auxiliary parameter to include additional
          information about the reason for link failure.";
          information about the reason for link failure.";
      }
      }
    }
    }
@@ -953,5 +956,7 @@ module etsi-qkd-sdn-node {
          description "Placeholder for the severity.";
          description "Placeholder for the severity.";
        }
        }
    }
    }

  }
  }

}
}