Bump upstream versions
[bgpcep.git] / pcep / ietf-stateful / src / main / yang / odl-pcep-sync-optimizations.yang
index b57455615b615fe3f40c9c289840dec21e3856f9..9f60f61e6893d501a26651a2f3a9cb8516e782d9 100644 (file)
@@ -7,14 +7,16 @@ module odl-pcep-sync-optimizations {
     import pcep-message { prefix msg; revision-date 2018-11-09; }
     import network-topology { prefix nt; revision-date 2013-10-21; }
     import network-topology-pcep { prefix topo; revision-date 2020-01-20; }
-    import odl-pcep-ietf-stateful { prefix stateful; revision-date 2018-11-09; }
+    import odl-pcep-ietf-stateful { prefix stateful; revision-date 2020-07-20; }
+    import yang-ext { prefix ext; }
 
     organization "Pantheon Technologies";
     contact "Iveta Halanova <iveta.halanova@pantheon.sk>";
 
     description
         "This module contains the data model of PCEP extensions defined
-        in draft-ietf-pce-stateful-sync-optimizations-02.
+        in RFC8232: 'Optimizations of Label Switched Path State Synchronization
+        Procedures for a Stateful PCE'.
 
         Copyright (c)2015 Cisco Systems, Inc. All rights reserved.
 
@@ -23,6 +25,11 @@ module odl-pcep-sync-optimizations {
         accompanies this distribution, and is available at
         http://www.eclipse.org/legal/epl-v10.html";
 
+    revision "2020-07-20" {
+        description "Update to Path State Synchronization Procedures RFC";
+        reference "RFC8232: https://tools.ietf.org/html/rfc8232";
+    }
+
     revision "2018-11-09" {
         description
             "P2MP extension.";
@@ -40,7 +47,7 @@ module odl-pcep-sync-optimizations {
     }
 
     grouping sync-optimizations-capability-tlv {
-        reference "http://tools.ietf.org/html/draft-ietf-pce-pce-initiated-lsp-00#section-4.1";
+        reference "http://tools.ietf.org/html/rfc8232#section-4.1";
         leaf triggered-initial-sync {
             type boolean;
             default false;
@@ -85,41 +92,48 @@ module odl-pcep-sync-optimizations {
         uses sync-optimizations-capability-tlv;
     }
 
-    augment "/nt:network-topology/nt:topology/nt:node/topo:path-computation-client/topo:stateful-tlv/stateful:stateful" {
-        uses sync-optimizations-capability-tlv;
-    }
-
     augment "/msg:open/msg:open-message/msg:open/msg:tlvs" {
+        ext:augment-identifier tlvs3;
         uses lsp-db-version-tlv;
         uses speaker-entity-id-tlv;
     }
 
-    augment "/stateful:pcupd/stateful:pcupd-message/stateful:updates/stateful:lsp/stateful:tlvs" {
+    augment "/msg:pcerr/msg:pcerr-message/msg:error-type/msg:session-case/msg:session/msg:open/msg:tlvs" {
+        ext:augment-identifier tlvs4;
         uses lsp-db-version-tlv;
+        uses speaker-entity-id-tlv;
     }
 
-    augment "/stateful:pcrpt/stateful:pcrpt-message/stateful:reports/stateful:lsp/stateful:tlvs" {
+    augment "/nt:network-topology/nt:topology/nt:node/topo:path-computation-client" {
         uses lsp-db-version-tlv;
     }
 
     augment "/nt:network-topology/nt:topology/nt:node/topo:path-computation-client/topo:reported-lsp/topo:path/stateful:lsp/stateful:tlvs" {
+        ext:augment-identifier tlvs2;
         uses lsp-db-version-tlv;
     }
 
-    augment "/topo:add-lsp/topo:input/topo:arguments/stateful:lsp/stateful:tlvs" {
+    augment "/nt:network-topology/nt:topology/nt:node/topo:path-computation-client/topo:stateful-tlv/stateful:stateful" {
+        uses sync-optimizations-capability-tlv;
+    }
+
+    augment "/stateful:pcrpt/stateful:pcrpt-message/stateful:reports/stateful:lsp/stateful:tlvs" {
+        ext:augment-identifier tlvs5;
         uses lsp-db-version-tlv;
     }
 
-    augment "/topo:update-lsp/topo:input/topo:arguments/stateful:lsp/stateful:tlvs" {
+    augment "/stateful:pcupd/stateful:pcupd-message/stateful:updates/stateful:lsp/stateful:tlvs" {
+        ext:augment-identifier tlvs6;
         uses lsp-db-version-tlv;
     }
 
-    augment "/msg:pcerr/msg:pcerr-message/msg:error-type/msg:session-case/msg:session/msg:open/msg:tlvs" {
+    augment "/topo:add-lsp/topo:input/topo:arguments/stateful:lsp/stateful:tlvs" {
+        ext:augment-identifier tlvs1;
         uses lsp-db-version-tlv;
-        uses speaker-entity-id-tlv;
     }
 
-    augment "/nt:network-topology/nt:topology/nt:node/topo:path-computation-client" {
+    augment "/topo:update-lsp/topo:input/topo:arguments/stateful:lsp/stateful:tlvs" {
+        ext:augment-identifier tlvs7;
         uses lsp-db-version-tlv;
     }
 }