Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cronjob - daily update of yang files. #1481

Merged
merged 1 commit into from
Sep 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/ietf-alto@2023-02-23.yang
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
Loading