Skip to content

Commit

Permalink
Merge branch 'master' into dplore/keychain-id-typo-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore authored Sep 24, 2024
2 parents aaad582 + 9b0a82e commit 4a4b4c6
Show file tree
Hide file tree
Showing 8 changed files with 282 additions and 46 deletions.
35 changes: 34 additions & 1 deletion release/models/gnsi/openconfig-gnsi-credentialz.yang
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ module openconfig-gnsi-credentialz {
/system/aaa/authentication/users/user/config/password-hashed
/system/aaa/authentication/users/user/state/password-hashed";

oc-ext:openconfig-version "0.6.0";
oc-ext:openconfig-version "0.7.0";

revision 2024-09-10 {
description
"Adding GLOME capabilities.";
reference "0.7.0";
}

revision 2024-02-13 {
description
Expand Down Expand Up @@ -142,6 +148,26 @@ module openconfig-gnsi-credentialz {
}
}

// GLOME related definitions.

grouping glome-key-version {
description
"Version identifier for the configured GLOME key.";

leaf active-glome-key-version {
type version;
description
"The version of the GLOME key.";
}

leaf active-glome-key-created-on {
type created-on;
description
"The timestamp of the moment when the GLOME key
was created.";
}
}

// Success/failure counters.
grouping counters {
description
Expand Down Expand Up @@ -232,9 +258,16 @@ module openconfig-gnsi-credentialz {
"Console-related state.";

uses counters;

leaf enabled {
type boolean;
description
"Whether GLOME is enabled or not.";
}
}
}
}

// System role console related definitions.

grouping user-console-credentials-version {
Expand Down
32 changes: 31 additions & 1 deletion release/models/keychain/openconfig-keychain-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,19 @@ module openconfig-keychain-types {
"This module contains general data definitions for use in
keychain-based authentication.";

oc-ext:openconfig-version "0.2.1";
oc-ext:openconfig-version "0.3.1";

revision "2024-08-27" {
description
"fix typo on AES_128_CMAC";
reference "0.3.1";
}

revision "2024-08-27" {
description
"Added AES_128_CMAC and AES_256_CMAC";
reference "0.3.0";
}

revision "2024-08-27" {
description
Expand Down Expand Up @@ -143,4 +155,22 @@ module openconfig-keychain-types {
reference
"RFC 4494 - The AES-CMAC-96 Algorithm and Its Use with IPsec";
}

identity AES_128_CMAC {
base CRYPTO_TYPE;
description
"AES-128-CMAC keyed hash function based on a AES-128 block
cipher.";
reference
"RFC 4493 - The AES-CMAC Algorithm and Its Use with IPsec";
}

identity AES_256_CMAC {
base CRYPTO_TYPE;
description
"AES-256-CMAC keyed hash function based on a AES-256 block
cipher.";
reference
"RFC 4493 - The AES-CMAC Algorithm and Its Use with IPsec";
}
}
17 changes: 16 additions & 1 deletion release/models/lacp/openconfig-lacp.yang
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ module openconfig-lacp {
managing aggregate interfaces. It works in conjunction with
the OpenConfig interfaces and aggregate interfaces models.";

oc-ext:openconfig-version "2.0.0";
oc-ext:openconfig-version "2.1.0";

revision "2024-09-24" {
description
"Add LACP fallback leaf under both config and state.";
reference "2.1.0";
}

revision "2023-12-11" {
description
Expand Down Expand Up @@ -407,6 +413,15 @@ grouping aggregation-lacp-members-statistics {
system-id";
}

leaf fallback {
type boolean;
description
"If the fallback is set to true, current LACP interface is
able to establish a Link Aggregation (LAG) before it receives
LACP PDUs from its peer, and fallback to a single port active
after the expiry of the timeout period.";
}

uses aggregation-lacp-global-config;
}

Expand Down
139 changes: 103 additions & 36 deletions release/models/network-instance/openconfig-evpn.yang
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,21 @@ module openconfig-evpn {
domains, this is not currently supported and requires an extension
of the model.";

oc-ext:openconfig-version "0.9.0";
oc-ext:openconfig-version "0.11.0";

revision "2024-08-14" {
description
"Add new local-endpoint-vnis config container to Vxlan connection point to allow
configuration of local VNI-to-VLAN and VNI-to-VRF maps";
reference "0.11.0";
}

revision "2024-06-07" {
description
"Add new vni-list leaf list to EVI config to support VLAN-aware-bundle
MACVRFs. Make existing vni leaf conditional on MACVRF type being VLAN-based";
reference "0.10.0";
}

revision "2024-05-14" {
description
Expand Down Expand Up @@ -676,12 +690,27 @@ module openconfig-evpn {
Using Ethernet VPN";

leaf vni {
when "../../../config/service-type = 'oc-evpn-types:VLAN_BASED' or
../../../config/service-type = 'oc-evpn-types:VLAN_BUNDLE'" {
description
"For VLAN-based and VLAN-bundle EVIs, use a single VNI";
}
type oc-evpn-types:vni-id;
description
"Virtual Network Identifier (VNI) associated to the EVI. This VNI is used for
ingress and egress in the VXLAN domain.";
}

leaf-list vni-list {
when "../../../config/service-type = 'oc-evpn-types:VLAN_AWARE'" {
description
"For VLAN-aware-bundle EVIs, use a list of VNIs";
}
type oc-evpn-types:vni-id;
description
"List of VNIs participating in a VLAN-aware-bundle EVI";
}

leaf overlay-endpoint-network-instance {
type leafref {
path "/network-instances/network-instance/name";
Expand Down Expand Up @@ -1024,13 +1053,47 @@ module openconfig-evpn {
config false;
description
"Container for state parameters related to this L2VNI or L3VNI";
uses evpn-endpoint-vni-config;
uses evpn-endpoint-vni-state;
}

uses ipv4-top;
uses ipv6-top;
}
}

container local-endpoint-vnis {
description
"Top level container for local configuration related to Layer 2 virtual
network identifiers (L2VNIs) and Layer 3 virtual network identifiers
(L3VNIs) in the default network instance";

list local-endpoint-vni {
key "vni";
description "List of L2VNIs and L3VNIs configured on the local VTEP";

leaf vni {
type leafref {
path '../config/vni';
}
description "L2VNI or L3VNI Identifier";
}

container config {
description
"Container for configuration parameters related to this local L2VNI or
L3VNI";
uses evpn-endpoint-vni-config;
}

container state {
config false;
description
"Container for state parameters related to this local L2VNI or L3VNI";
uses evpn-endpoint-vni-config;
}
}
}
}

grouping evpn-endpoint-peer-state {
Expand Down Expand Up @@ -1175,16 +1238,52 @@ module openconfig-evpn {
}
}

grouping evpn-endpoint-vni-state {
grouping evpn-endpoint-vni-config {
description
"Grouping for L2VNI and L3VNI state information learned on the
local VXLAN Tunnel End Point from remote VTEPs";
"Grouping for L2VNI and L3VNI configuration parameters";

leaf vni {
type oc-evpn-types:evi-id;
description "L2VNI or L3VNI Identifier";
}

leaf vni-type {
type enumeration {
enum L2 {
description
"This is a Layer 2 service virtual network identifier (L2VNI)
that is used for communication within the same subnet or
broadcast domain";
}
enum L3 {
description
"This is a Layer 3 service virtual network identifier (L3VNI)
or VRF VNI that is used for communication between subnets";
}
}
description "The type of virtual network identfier";
}

leaf bridge-domain {
type uint32;
description
"This reflects the configured VLAN or Bridge Domain that maps to this
L2VNI in the VXLAN fabric";
}

leaf l3-vrf-name {
type string;
description
"This refects the configured VRF instance that maps to this L3VNI
that is used for routing between subnets in the VXLAN fabric";
}
}

grouping evpn-endpoint-vni-state {
description
"Grouping for L2VNI and L3VNI state information learned on the
local VXLAN Tunnel End Point from remote VTEPs";

leaf multidestination-traffic {
type union {
type oc-inet:ip-address;
Expand Down Expand Up @@ -1218,23 +1317,6 @@ module openconfig-evpn {
control-plane or data-plane";
}

leaf vni-type {
type enumeration {
enum L2 {
description
"This is a Layer 2 service virtual network identifier (L2VNI)
that is used for communication within the same subnet or
broadcast domain";
}
enum L3 {
description
"This is a Layer 3 service virtual network identifier (L3VNI)
or VRF VNI that is used for communication between subnets";
}
}
description "The type of virtual network identfier";
}

leaf vni-state {
type enumeration {
enum UP {
Expand Down Expand Up @@ -1268,20 +1350,5 @@ module openconfig-evpn {
"Operational status of the SVI mapped to the L3VNI that is used for
routing between subnets in the VXLAN fabric";
}

leaf bridge-domain {
type uint32;
description
"This reflects the configured VLAN or Bridge Domain that maps to this
L2VNI in the VXLAN fabric";
}

leaf l3-vrf-name {
type string;
description
"This refects the configured VRF instance that maps to this L3VNI
that is used for routing between subnets in the VXLAN fabric";
}

}
}
14 changes: 13 additions & 1 deletion release/models/platform/openconfig-platform-common.yang
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,19 @@ submodule openconfig-platform-common {
"This modules contains common groupings that are used in multiple
components within the platform module.";

oc-ext:openconfig-version "0.27.0";
oc-ext:openconfig-version "0.29.0";

revision "2024-10-13" {
description
"Deprecate component id leaf";
reference "0.29.0";
}

revision "2024-08-08" {
description
"Update description of model-name leaf.";
reference "0.28.0";
}

revision "2024-05-29" {
description
Expand Down
Loading

0 comments on commit 4a4b4c6

Please sign in to comment.