Skip to content

Commit

Permalink
Merge pull request #1481 from yang-catalog/main
Browse files Browse the repository at this point in the history
Cronjob - daily update of yang files.
  • Loading branch information
SlavomirMazurPantheon committed Sep 24, 2023
2 parents ac34294 + 4de13b4 commit 1649c4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ module ietf-alto-stats {
Protocol, Section 11.4.1
RFC 9240: An ALTO Extension: Entity Property Maps";
}

grouping cdni-stats {
description
"This grouping defines resource-specific statstics for the
Expand Down
66 changes: 4 additions & 62 deletions experimental/ietf-extracted-YANG-modules/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ module ietf-alto {
"RFC 7285: Application-Layer Traffic Optimization (ALTO)
Protocol, Section 6.1.1";
}

identity cost-mode {
description
"The cost mode indicates how costs should be interpreted.
Expand Down Expand Up @@ -213,7 +214,6 @@ module ietf-alto {
"RFC 7285: Application-Layer Traffic Optimization (ALTO)
Protocol, Section 5";
}

identity cost-map {
base resource-type;
description
Expand Down Expand Up @@ -269,6 +269,7 @@ module ietf-alto {
Incremental Updates Using Server-Sent Events
(SSE)";
}

// Identities for cost mode

identity numerical {
Expand Down Expand Up @@ -509,6 +510,7 @@ module ietf-alto {
}

// Typedefs for referencing purposes

typedef cost-type-ref {
type leafref {
path "/alto:alto/alto:alto-server/alto:cost-type"
Expand Down Expand Up @@ -548,7 +550,6 @@ module ietf-alto {
description
"Type to reference an HTTPS client user id.";
}

typedef resource-ref {
type leafref {
path "/alto:alto/alto:alto-server/alto:resource"
Expand All @@ -557,6 +558,7 @@ module ietf-alto {
description
"Type to reference a resource identifier.";
}

typedef role-ref {
type leafref {
path "/alto:alto/alto:alto-server/alto:role"
Expand Down Expand Up @@ -1057,66 +1059,6 @@ module ietf-alto {
description
"Identify the type of the data source.";
}
choice update-policy {
mandatory true;
description
"Policy to get updates from data sources.";
case reactive {
description
"Configuration for the data source listener to
reactively subscribe data and wait for updates
published by the data source.";
choice publish-mode {
description
"Configuration for when the data source publish an
update.";
case on-change {
description
"The data source is requested to publish an
update once the data has a change.";
leaf on-change {
type empty;
mandatory true;
description
"Indicates an on-change subscription.";
}
}
case periodic {
description
"The data source is requested to periodically
publish an update.";
leaf feed-interval {
type uint32;
units "seconds";
mandatory true;
description
"Specifies the duration of time that should
occur between periodic push updates, in units
of seconds. If it is set to zero, it is
equivalent to the on-change mode.";
}
}
}
}
case proactive {
description
"Configuration for the data source listener to
proactively pull data from the data source.";
leaf poll-interval {
type uint32;
units "seconds";
mandatory true;
description
"Polling interval in seconds for proactive mode. If
it is set to zero, the data source listener will
never pull data periodically. The data can still
be pulled when an algorithm plugin of an
information resource calls this data source
listener. This can be useful for some on-demand
settings.";
}
}
}
choice source-params {
description
"Data source specific configuration.";
Expand Down

0 comments on commit 1649c4d

Please sign in to comment.