Skip to content

Commit

Permalink
Cronjob - daily check of IETF modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miroslav Kovac committed Dec 4, 2023
1 parent a5e5b01 commit b4a0578
Show file tree
Hide file tree
Showing 3 changed files with 340 additions and 255 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ module ietf-ac-ntw {
"When the addresses are allocated by DHCP or other
dynamic means local to the infrastructure.";
choice address-assign {
default "number";
description
"A choice for how IPv4 addresses are assigned.";
case number {
Expand Down Expand Up @@ -601,13 +600,11 @@ module ietf-ac-ntw {
"When the addresses are allocated by DHCP or other
dynamic means local to the infrastructure.";
choice address-assign {
default "number";
description
"A choice for how IPv6 addresses are assigned.";
case number {
leaf number-of-dynamic-address {
type uint16;
default "1";
description
"Specifies the number of IP addresses to be
assigned to the customer on this access.";
Expand Down Expand Up @@ -794,23 +791,20 @@ module ietf-ac-ntw {
}
leaf as-override {
type boolean;
default "false";
description
"Defines whether ASN override is enabled, i.e., replacing the
ASN of the customer specified in the AS_PATH attribute with
the local ASN.";
}
leaf allow-own-as {
type uint8;
default "0";
description
"If set, specifies the maximum number of occurrences of the
provider's ASN that are permitted within the AS_PATH
before it is rejected.";
}
leaf prepend-global-as {
type boolean;
default "false";
description
"In some situations, the ASN that is provided at the node
level may be distinct from the ASN configured at the AC.
Expand All @@ -822,7 +816,6 @@ module ietf-ac-ntw {
}
leaf send-default-route {
type boolean;
default "false";
description
"Defines whether default routes can be advertised to a peer.
If set, the default routes are advertised to a peer.";
Expand Down Expand Up @@ -881,7 +874,6 @@ module ietf-ac-ntw {
"Controls the behavior when a prefix maximum is reached.";
leaf max-prefix {
type uint32;
default "5000";
description
"Indicates the maximum number of BGP prefixes allowed in
the BGP session.
Expand All @@ -901,7 +893,6 @@ module ietf-ac-ntw {
range "0..100";
}
units "percent";
default "75";
description
"When this value is reached, a warning notification will be
triggered.";
Expand Down Expand Up @@ -943,7 +934,6 @@ module ietf-ac-ntw {
range "0..21845";
}
units "seconds";
default "30";
description
"This timer indicates the KEEPALIVE messages' frequency
between a PE and a BGP peer.
Expand All @@ -962,7 +952,6 @@ module ietf-ac-ntw {
range "0 | 3..65535";
}
units "seconds";
default "90";
description
"Indicates the maximum number of seconds that may elapse
between the receipt of successive KEEPALIVE and/or UPDATE
Expand Down Expand Up @@ -1364,7 +1353,6 @@ module ietf-ac-ntw {
}
leaf metric {
type uint16;
default "1";
description
"Metric of the sham link. It is used in the routing
state calculation and path selection.";
Expand Down Expand Up @@ -1410,7 +1398,6 @@ module ietf-ac-ntw {
}
leaf metric {
type uint16;
default "1";
description
"Metric of the PE-CE link. It is used in the routing
state calculation and path selection.";
Expand All @@ -1429,7 +1416,6 @@ module ietf-ac-ntw {
interface.";
}
}
default "active";
description
"IS-IS interface mode type.";
}
Expand Down Expand Up @@ -1495,13 +1481,11 @@ module ietf-ac-ntw {
type uint8 {
range "1..254";
}
default "100";
description
"Sets the local priority of the VRRP speaker.";
}
leaf ping-reply {
type boolean;
default "false";
description
"Controls whether the VRRP speaker should reply to ping
requests.";
Expand All @@ -1520,14 +1504,12 @@ module ietf-ac-ntw {
type identityref {
base vpn-common:bfd-session-type;
}
default "vpn-common:classic-bfd";
description
"Specifies the BFD session type.";
}
leaf desired-min-tx-interval {
type uint32;
units "microseconds";
default "1000000";
description
"The minimum interval between transmissions of BFD Control
packets, as desired by the operator.";
Expand All @@ -1538,7 +1520,6 @@ module ietf-ac-ntw {
leaf required-min-rx-interval {
type uint32;
units "microseconds";
default "1000000";
description
"The minimum interval between received BFD Control packets
that the PE should support.";
Expand All @@ -1550,7 +1531,6 @@ module ietf-ac-ntw {
type uint8 {
range "1..255";
}
default "3";
description
"Specifies the detection multiplier that is transmitted to a
BFD peer.
Expand Down Expand Up @@ -1626,7 +1606,6 @@ module ietf-ac-ntw {
"Container for AC encryption.";
leaf enabled {
type boolean;
default "false";
description
"If set to 'true', traffic encryption on the connection is
required. Otherwise, it is disabled.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ module ietf-ac-svc {
description
"Defines a reference to an attachment circuit profile.";
}

typedef encryption-profile-reference {
type leafref {
path
Expand Down Expand Up @@ -424,6 +425,7 @@ module ietf-ac-svc {
uses ac-common:isis-authentication;
uses vpn-common:service-status;
}

// RIP Service

grouping rip-svc {
Expand Down Expand Up @@ -840,6 +842,11 @@ module ietf-ac-svc {
if-feature "vpn-common:bfd";
description
"Container for BFD.";
leaf profile {
type bfd-profile-reference;
description
"Points to a BFD profile.";
}
uses ac-common:bfd;
uses vpn-common:service-status;
}
Expand All @@ -853,6 +860,51 @@ module ietf-ac-svc {
description
"AC-specific bandwith parameters.";
uses bandwidth;
container qos {
if-feature "vpn-common:qos";
description
"QoS configuration.";
container qos-profiles {
description
"QoS profile configuration.";
list qos-profile {
key "profile";
description
"Points to a QoS profile.";
leaf profile {
type qos-profile-reference;
description
"QoS profile to be used.";
}
leaf direction {
type identityref {
base vpn-common:qos-profile-direction;
}
description
"The direction to which the QoS profile
is applied.";
}
}
}
}
container access-control-list {
description
"Container for the Access Control List (ACL).";
container acl-profiles {
description
"ACL profile configuration.";
list acl-profile {
key "profile";
description
"Points to an ACL profile.";
leaf profile {
type forwarding-profile-reference;
description
"Forwarding profile to be used.";
}
}
}
}
}
}

Expand Down Expand Up @@ -928,14 +980,14 @@ module ietf-ac-svc {
description
"A reference to an AC profile.";
}
leaf ac-bundle-ref {
leaf ac-parent-ref {
type ac-svc:attachment-circuit-reference;
description
"Specifies the AC bundle that is inherited by an AC.
AC bundles are used, e.g., in contexts where dynamic
terminating points are managed while stable AC reference
are exposed to services that make use of these dynamic
ACs.";
"Specifies the parent AC that is inherited by an AC.
In contexts where dynamic terminating points are
bound to the same AC, a parent AC with stable
inforamtion is created with a set of child AC
that trackes dynamic informaiton.";
}
list group {
key "group-id";
Expand Down
Loading

0 comments on commit b4a0578

Please sign in to comment.