X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=api%2Fsrc%2Fmain%2Fyang%2Fservice_path%2Ftransportpce-common-service-path-types%402022-01-18.yang;fp=api%2Fsrc%2Fmain%2Fyang%2Fservice_path%2Ftransportpce-common-service-path-types%402020-01-28.yang;h=deefeaea0f45f734b8c06857c90a2673dcb854f2;hb=c3304a3906d642b4fb2b4b57ae0a3a1081d5014a;hp=4b10e1d2dd3fec38b3844242134da2eebfbf6c93;hpb=f6a0a3a9e078bf4ab57e1ad9c39cc16f4de4d89b;p=transportpce.git diff --git a/api/src/main/yang/service_path/transportpce-common-service-path-types@2020-01-28.yang b/api/src/main/yang/service_path/transportpce-common-service-path-types@2022-01-18.yang similarity index 95% rename from api/src/main/yang/service_path/transportpce-common-service-path-types@2020-01-28.yang rename to api/src/main/yang/service_path/transportpce-common-service-path-types@2022-01-18.yang index 4b10e1d2d..deefeaea0 100644 --- a/api/src/main/yang/service_path/transportpce-common-service-path-types@2020-01-28.yang +++ b/api/src/main/yang/service_path/transportpce-common-service-path-types@2022-01-18.yang @@ -59,6 +59,11 @@ module transportpce-common-service-path-types { ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE"; + revision 2022-01-18 { + description + "Add typedef pce-metric"; + } + revision 2020-01-28 { description "Version 1.7"; @@ -77,6 +82,23 @@ module transportpce-common-service-path-types { "Version 1.5"; } + typedef pce-metric { + type enumeration { + enum hop-count { + value 1; + } + enum propagation-delay { + value 2; + } + enum TE-metric { + value 3; + } + enum IGP-metric { + value 4; + } + } + } + typedef service-path-notification-types { type enumeration { enum path-computation-request { @@ -238,6 +260,9 @@ module transportpce-common-service-path-types { container service-z-end { uses service-endpoint-sp; } + leaf pce-routing-metric { + type pce-metric; + } uses transportpce-routing-constraints:routing-constraints-sp; leaf latency { type uint32;