Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor transportpce-routing-constraint model
[transportpce.git]
/
api
/
src
/
main
/
yang
/
service_path
/
transportpce-common-service-path-types@2022-01-18.yang
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 4b10e1d2dd3fec38b3844242134da2eebfbf6c93..deefeaea0f45f734b8c06857c90a2673dcb854f2 100644
(file)
--- 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";
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";
revision 2020-01-28 {
description
"Version 1.7";
@@
-77,6
+82,23
@@
module transportpce-common-service-path-types {
"Version 1.5";
}
"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 {
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;
}
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;
uses transportpce-routing-constraints:routing-constraints-sp;
leaf latency {
type uint32;